statsincludes/stats_logger.php
author Dan
Mon, 05 Jan 2009 22:29:36 -0500
changeset 44 73f74d395f95
parent 20 e2f6e3af9959
permissions -rw-r--r--
Added theme support. Oh yeah, you can customize graphs using graph_{line,bar}.def.

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