projects
/
PHP-P10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddffd10
)
fixed missing parameter in PulseBot.class.php
author
pk910
<philipp@zoelle1.de>
Wed, 10 Aug 2011 03:58:33 +0000
(
05:58
+0200)
committer
pk910
<philipp@zoelle1.de>
Wed, 10 Aug 2011 03:58:33 +0000
(
05:58
+0200)
Bots/PulseBot.class.php
patch
|
blob
|
history
diff --git
a/Bots/PulseBot.class.php
b/Bots/PulseBot.class.php
index 997513a94c837200d7a6164330601d7674b83b04..a9c2c7c633c6689b144971501713179d5e7278cc 100644
(file)
--- 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);