Update of /cvsroot/srvx/services/src
In directory usw-pr-cvs1:/tmp/cvs-serv19002/src
Modified Files:
chanserv.c
Log Message:
apply a registered channel's mode to it when starting up
Index: chanserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/chanserv.c,v
retrieving revision 1.286
retrieving revision 1.287
diff -C2 -r1.286 -r1.287
*** chanserv.c 18 Sep 2002 14:51:30 -0000 1.286
--- chanserv.c 19 Sep 2002 03:52:02 -0000 1.287
***************
*** 6593,6596 ****
--- 6593,6601 ----
count = split_line(str, 0, ArrayLength(split_modes), split_modes);
parse_mode_lock(split_modes, count, cData);
+ if(!IsSuspended(cData))
+ {
+ assert(cNode);
+ mod_chanmode(cNode, chanserv, str, NULL, 0);
+ }
}
|