changeset 21 | d86ea89358ec |
parent 8 | 0acb8d9a3194 |
child 30 | 2cfcd2801e5a |
--- a/libirc.php Sat Nov 15 15:00:52 2008 -0500 +++ b/libirc.php Sat Nov 15 15:01:28 2008 -0500 @@ -249,6 +249,7 @@ private function handle_privmsg($message) { $message = self::parse_message($message); + $message['message'] = preg_replace('/^(.+?):/', '', $message['message']); $ph = $this->privmsg_handler; if ( @function_exists($ph) ) return @call_user_func($ph, $message);