projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added uptime to stats module
[NeonServV5.git]
/
src
/
modules
/
stats.mod
/
module.c
diff --git
a/src/modules/stats.mod/module.c
b/src/modules/stats.mod/module.c
index e322754ab017e96f755c0268a152dbd361878282..c81e3a6b12a14ecbea820690013d8d19e3ade7aa 100644
(file)
--- 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