[srvx-commits] CVS: services/src chanserv.c,1.319,1.320
Brought to you by:
entrope
|
From: Zoot <zo...@us...> - 2002-12-17 05:41:15
|
Update of /cvsroot/srvx/services/src
In directory sc8-pr-cvs1:/tmp/cvs-serv32394/src
Modified Files:
chanserv.c
Log Message:
Fix a small crash bug in the !access command.
Index: chanserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/chanserv.c,v
retrieving revision 1.319
retrieving revision 1.320
diff -C2 -r1.319 -r1.320
*** chanserv.c 15 Dec 2002 23:01:25 -0000 1.319
--- chanserv.c 17 Dec 2002 05:41:12 -0000 1.320
***************
*** 3473,3476 ****
--- 3473,3482 ----
}
+ if(!channel->channel_info)
+ {
+ chanserv_notice(user, CSMSG_NOT_REGISTERED, channel->name);
+ return 1;
+ }
+
helping = HANDLE_FLAGGED(target_handle, HELPING)
&& ((target_handle->opserv_level > 0) || !IsProtected(channel->channel_info));
|