statsincludes/stats_logger.php
changeset 20 e2f6e3af9959
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/statsincludes/stats_logger.php	Sat Nov 15 15:00:52 2008 -0500
@@ -0,0 +1,10 @@
+<?php
+
+eb_hook('event_channel_msg', 'stats_event_privmsg($chan, $message);');
+
+function stats_event_privmsg($chan, $message)
+{
+  $channel = $chan->get_channel_name();
+  stats_log_message($channel, $message['nick'], time());
+}
+