Update of /cvsroot/x2serv/x2/source
In directory usw-pr-cvs1:/tmp/cvs-serv30194/source
Modified Files:
chan.c
Log Message:
Regchan crash, cptr->Suspended was left uninitalized by AddChan(), fixed.
Index: chan.c
===================================================================
RCS file: /cvsroot/x2serv/x2/source/chan.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -C2 -r1.63 -r1.64
*** chan.c 2001/01/12 10:34:34 1.63
--- chan.c 2001/01/14 19:04:55 1.64
***************
*** 1370,1373 ****
--- 1370,1374 ----
NewChan->Limit = NULL;
NewChan->Regged = IsRegged;
+ NewChan->Suspended = NULL;
ConvertModeString(ModeString, &NewChan->PlusModes, &NewChan->MinModes, &NewChan->Key, &NewChan->Limit);
if(settings)
|