[srvx-commits] CVS: services/src chanserv.c,1.327,1.328
Brought to you by:
entrope
|
From: Entrope <en...@us...> - 2003-01-03 23:57:16
|
Update of /cvsroot/srvx/services/src
In directory sc8-pr-cvs1:/tmp/cvs-serv18960/src
Modified Files:
chanserv.c
Log Message:
make !netinfo report true (not "skewed") uptime
Index: chanserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/chanserv.c,v
retrieving revision 1.327
retrieving revision 1.328
diff -C2 -r1.327 -r1.328
*** chanserv.c 1 Jan 2003 00:02:43 -0000 1.327
--- chanserv.c 3 Jan 2003 23:57:12 -0000 1.328
***************
*** 3933,3937 ****
{
create_mode_lock(modes, channel->channel_info);
-
mod_chanmode(channel, chanserv, modes);
irc_mode(chanserv, channel, modes);
--- 3933,3936 ----
***************
*** 4239,4243 ****
chanserv_notice(user, CSMSG_CHANNEL_USERS, "Total User", PADLEN - 17, "", userCount[0]);
! intervalString(interval, now - boot_time);
chanserv_notice(user, CSMSG_SERVICES_UPTIME, interval);
--- 4238,4242 ----
chanserv_notice(user, CSMSG_CHANNEL_USERS, "Total User", PADLEN - 17, "", userCount[0]);
! intervalString(interval, time(NULL) - boot_time);
chanserv_notice(user, CSMSG_SERVICES_UPTIME, interval);
|