[srvx-commits] CVS: services/src chanserv.c,1.310,1.311
Brought to you by:
entrope
|
From: Zoot <zo...@us...> - 2002-11-23 04:33:27
|
Update of /cvsroot/srvx/services/src
In directory sc8-pr-cvs1:/tmp/cvs-serv32078/src
Modified Files:
chanserv.c
Log Message:
Fix a minor bug where ChanServ would print gibberish in a channel's suspension history.
Index: chanserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/chanserv.c,v
retrieving revision 1.310
retrieving revision 1.311
diff -C2 -r1.310 -r1.311
*** chanserv.c 22 Nov 2002 04:07:08 -0000 1.310
--- chanserv.c 23 Nov 2002 04:33:23 -0000 1.311
***************
*** 4053,4057 ****
case 5: /* issue time set, expires in future */
intervalString(buf1, now-suspended->issued);
! intervalString(buf1, suspended->expires-now);
chanserv_notice(user, CSMSG_CHANNEL_SUSPENDED_5, buf1, suspended->suspender, buf2, suspended->reason);
break;
--- 4053,4057 ----
case 5: /* issue time set, expires in future */
intervalString(buf1, now-suspended->issued);
! intervalString(buf2, suspended->expires-now);
chanserv_notice(user, CSMSG_CHANNEL_SUSPENDED_5, buf1, suspended->suspender, buf2, suspended->reason);
break;
|