statsincludes/stats_logger.php
changeset 20 e2f6e3af9959
equal deleted inserted replaced
19:eb92dc5d9fb4 20:e2f6e3af9959
       
     1 <?php
       
     2 
       
     3 eb_hook('event_channel_msg', 'stats_event_privmsg($chan, $message);');
       
     4 
       
     5 function stats_event_privmsg($chan, $message)
       
     6 {
       
     7   $channel = $chan->get_channel_name();
       
     8   stats_log_message($channel, $message['nick'], time());
       
     9 }
       
    10