From 100e68996f69c2a4ee96d7c248a1d05d06052438 Mon Sep 17 00:00:00 2001 From: pk910 Date: Wed, 10 Aug 2011 05:58:33 +0200 Subject: [PATCH] fixed missing parameter in PulseBot.class.php --- Bots/PulseBot.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1