}
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);