statsincludes/stats_logger.php
author Dan
Sat, 15 Nov 2008 15:33:51 -0500
changeset 27 4a9469bada05
parent 20 e2f6e3af9959
permissions -rw-r--r--
Oops! Forgot to add the DBAL.

<?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());
}