projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb67516
)
added uptime to stats module
author
pk910
<philipp@zoelle1.de>
Sat, 22 Sep 2012 00:35:02 +0000
(
02:35
+0200)
committer
pk910
<philipp@zoelle1.de>
Sat, 22 Sep 2012 00:35:02 +0000
(
02:35
+0200)
src/modules/stats.mod/module.c
patch
|
blob
|
history
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