Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Commit 5aff383

Browse files
committed
Fix bug in global factoids
Signed-off-by: Yoshi2889 <[email protected]>
1 parent d93c520 commit 5aff383

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Factoids.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function createGlobal($command, $params, IrcDataObject $object)
101101
if (!$auth->nicknameIsTrusted($nickname))
102102
return;
103103

104-
$pieces = explode(' ', $params, 1);
104+
$pieces = explode(' ', $params, 2);
105105

106106
if (count($pieces) < 2)
107107
return;

0 commit comments

Comments
 (0)