projects
/
PHP-P10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
100e689
)
fixed variable name :D
author
pk910
<philipp@zoelle1.de>
Wed, 10 Aug 2011 03:59:26 +0000
(
05:59
+0200)
committer
pk910
<philipp@zoelle1.de>
Wed, 10 Aug 2011 03:59:26 +0000
(
05:59
+0200)
Bots/PulseBot.class.php
patch
|
blob
|
history
diff --git
a/Bots/PulseBot.class.php
b/Bots/PulseBot.class.php
index a9c2c7c633c6689b144971501713179d5e7278cc..63d3e4a0269f5c042c2f68b4327b3bfd41c469ab 100644
(file)
--- a/
Bots/PulseBot.class.php
+++ b/
Bots/PulseBot.class.php
@@
-110,7
+110,7
@@
class {$_NAME} extends Bot {
function recive_privmsg($user, $channel, $message) {
if(!$this->botOppedOnChannel($channel)) return;
function recive_privmsg($user, $channel, $message) {
if(!$this->botOppedOnChannel($channel)) return;
- $privs = $
PHPC
hannel->getUserPrivs($user);
+ $privs = $
c
hannel->getUserPrivs($user);
$op = ($user->getModes()->hasMode('o') || ($privs & P10_Channel::USERPRIV_OPED));
$exp = explode(" ", $message);
switch(strtolower($exp[0])) {
$op = ($user->getModes()->hasMode('o') || ($privs & P10_Channel::USERPRIV_OPED));
$exp = explode(" ", $message);
switch(strtolower($exp[0])) {