statsincludes/stats_logger.php
author Dan
Sun, 14 Dec 2008 00:35:52 -0500
changeset 34 a8daa2016cf1
parent 20 e2f6e3af9959
permissions -rw-r--r--
Added support for last month and last 2 weeks graphs; adjusted web interface accordingly

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