From: pk910 Date: Wed, 10 Aug 2011 03:58:33 +0000 (+0200) Subject: fixed missing parameter in PulseBot.class.php X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=commitdiff_plain;h=100e68996f69c2a4ee96d7c248a1d05d06052438 fixed missing parameter in PulseBot.class.php --- diff --git a/Bots/PulseBot.class.php b/Bots/PulseBot.class.php index 997513a..a9c2c7c 100644 --- a/Bots/PulseBot.class.php +++ b/Bots/PulseBot.class.php @@ -109,7 +109,7 @@ class {$_NAME} extends Bot { } function recive_privmsg($user, $channel, $message) { - if(!$this->botOppedOnChannel()) return; + if(!$this->botOppedOnChannel($channel)) return; $privs = $PHPChannel->getUserPrivs($user); $op = ($user->getModes()->hasMode('o') || ($privs & P10_Channel::USERPRIV_OPED)); $exp = explode(" ", $message);