equal
deleted
inserted
replaced
24 if ( isset($libirc_channels[$channel_name]) && is_object($libirc_channels[$channel_name]) ) |
24 if ( isset($libirc_channels[$channel_name]) && is_object($libirc_channels[$channel_name]) ) |
25 { |
25 { |
26 $libirc_channels[$channel_name]->msg(eb_censor_words(preg_replace("/^\!echo-([^\007, \r\n\a\t]+) /", '', $message['message'])), true); |
26 $libirc_channels[$channel_name]->msg(eb_censor_words(preg_replace("/^\!echo-([^\007, \r\n\a\t]+) /", '', $message['message'])), true); |
27 } |
27 } |
28 } |
28 } |
|
29 else if ( in_array($message['nick'], $privileged_list) && preg_match("/^\!pm ([^\007, \r\n\a\t]+) (.+)/", $message['message'], $match) ) |
|
30 { |
|
31 global $irc; |
|
32 $irc->privmsg($match[1], eb_censor_words($match[2])); |
|
33 } |
29 } |
34 } |