statsincludes/stats_logger.php
author Dan
Tue, 20 Jan 2009 22:08:17 -0500
changeset 52 a8f0e99883d1
parent 20 e2f6e3af9959
permissions -rw-r--r--
Web interface can now update with AJAX

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