modules/echo.php
changeset 39 4027a5b47db5
parent 8 0acb8d9a3194
child 40 1855846cbdab
--- a/modules/echo.php	Wed Dec 31 21:41:57 2008 -0500
+++ b/modules/echo.php	Wed Dec 31 21:54:19 2008 -0500
@@ -26,4 +26,9 @@
       $libirc_channels[$channel_name]->msg(eb_censor_words(preg_replace("/^\!echo-([^\007, \r\n\a\t]+) /", '', $message['message'])), true);
     }
   }
+  else if ( in_array($message['nick'], $privileged_list) && preg_match("/^\!pm ([^\007, \r\n\a\t]+) (.+)/", $message['message'], $match) )
+  {
+    global $irc;
+    $irc->privmsg($match[1], eb_censor_words($match[2]));
+  }
 }