[srvx-commits] CVS: services/src chanserv.c,1.328,1.329
Brought to you by:
entrope
|
From: Entrope <en...@us...> - 2003-01-04 05:16:43
|
Update of /cvsroot/srvx/services/src
In directory sc8-pr-cvs1:/tmp/cvs-serv32497/src
Modified Files:
chanserv.c
Log Message:
unregister a suspended channel (and thus free its suspended->name)
AFTER remove it from sChans
Index: chanserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/chanserv.c,v
retrieving revision 1.328
retrieving revision 1.329
diff -C2 -r1.328 -r1.329
*** chanserv.c 3 Jan 2003 23:57:12 -0000 1.328
--- chanserv.c 4 Jan 2003 05:16:40 -0000 1.329
***************
*** 1895,1900 ****
if(IsSuspended(cData))
{
unregister_channel(cData);
- dict_remove(sChannels, channel->name);
}
else
--- 1895,1900 ----
if(IsSuspended(cData))
{
+ dict_remove(sChannels, channel->name);
unregister_channel(cData);
}
else
|