Skip to content

Commit

Permalink
Fixed issue with a null parameter in the Join plugin causing validati…
Browse files Browse the repository at this point in the history
…on issues with the streams driver
  • Loading branch information
elazar committed Aug 23, 2010
1 parent 3399c1e commit b114970
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Phergie/Plugin/Join.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ public function onLoad()
*/
public function onCommandJoin($channels, $keys = null)
{
$this->doJoin($channels, $keys);
if ($keys) {
$this->doJoin($channels, $keys);
} else {
$this->doJoin($channels);
}
}
}

0 comments on commit b114970

Please sign in to comment.