[srvx-commits] CVS: services/src chanserv.c,1.331,1.332
Brought to you by:
entrope
|
From: Entrope <en...@us...> - 2003-01-16 23:19:10
|
Update of /cvsroot/srvx/services/src
In directory sc8-pr-cvs1:/tmp/cvs-serv29215/src
Modified Files:
chanserv.c
Log Message:
hide nodelete channels from "/msg chanserv access oper" by helpers
Index: chanserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/chanserv.c,v
retrieving revision 1.331
retrieving revision 1.332
diff -C2 -r1.331 -r1.332
*** chanserv.c 10 Jan 2003 03:45:32 -0000 1.331
--- chanserv.c 16 Jan 2003 23:19:07 -0000 1.332
***************
*** 3382,3385 ****
--- 3382,3386 ----
for (cList = target_handle->channels; cList; cList = cList->next) {
if(cList->user->access == ulHelper) continue;
+ if(IsProtected(cList->channel) && !IsOper(user)) continue;
chanName = cList->channel->channel ? cList->channel->channel->name : cList->channel->suspended->name;
if(cList->user->info)
|