From: pk910 Date: Sat, 22 Sep 2012 00:35:02 +0000 (+0200) Subject: added uptime to stats module X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=commitdiff_plain;h=3063d83a8df3c055bb768c339482240583270d2b added uptime to stats module --- diff --git a/src/modules/stats.mod/module.c b/src/modules/stats.mod/module.c index e322754..c81e3a6 100644 --- a/src/modules/stats.mod/module.c +++ b/src/modules/stats.mod/module.c @@ -129,6 +129,7 @@ static TIMEQ_CALLBACK(stats_timer_callback) { int chanuser_count = getChanUserCount(); pkgpos += sprintf(pkgbuf + pkgpos, "%d %d\n", user_count, chanuser_count); } + pkgpos += sprintf(pkgbuf + pkgpos, "%lu\n", getStartTime()); pkgbuf[pkgpos] = 0; //send package #ifndef WIN32