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

Commit

Permalink
Fix bug in global factoids
Browse files Browse the repository at this point in the history
Signed-off-by: Yoshi2889 <rick.2889@gmail.com>
  • Loading branch information
NanoSector committed Dec 20, 2015
1 parent d93c520 commit 5aff383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Factoids.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function createGlobal($command, $params, IrcDataObject $object)
if (!$auth->nicknameIsTrusted($nickname))
return;

$pieces = explode(' ', $params, 1);
$pieces = explode(' ', $params, 2);

if (count($pieces) < 2)
return;
Expand Down

0 comments on commit 5aff383

Please sign in to comment.