equal
deleted
inserted
replaced
247 */ |
247 */ |
248 |
248 |
249 private function handle_privmsg($message) |
249 private function handle_privmsg($message) |
250 { |
250 { |
251 $message = self::parse_message($message); |
251 $message = self::parse_message($message); |
|
252 $message['message'] = preg_replace('/^(.+?):/', '', $message['message']); |
252 $ph = $this->privmsg_handler; |
253 $ph = $this->privmsg_handler; |
253 if ( @function_exists($ph) ) |
254 if ( @function_exists($ph) ) |
254 return @call_user_func($ph, $message); |
255 return @call_user_func($ph, $message); |
255 } |
256 } |
256 |
257 |