[srvx-commits] CVS: services/src chanserv.c,1.232.2.11,1.232.2.12
Brought to you by:
entrope
|
From: Adrian D. <sai...@us...> - 2002-11-16 19:08:45
|
Update of /cvsroot/srvx/services/src
In directory usw-pr-cvs1:/tmp/cvs-serv10048
Modified Files:
Tag: rel-1_1-branch
chanserv.c
Log Message:
clvl allows helpers with access >= master in nodelete chans to clvl anyone to anything
Index: chanserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/chanserv.c,v
retrieving revision 1.232.2.11
retrieving revision 1.232.2.12
diff -C2 -r1.232.2.11 -r1.232.2.12
*** chanserv.c 23 Oct 2002 16:22:45 -0000 1.232.2.11
--- chanserv.c 16 Nov 2002 19:08:41 -0000 1.232.2.12
***************
*** 2702,2706 ****
struct userData *actor;
enum userLevel access, new_access = ulNone;
! int privileged = IsHelping(user);
REQUIRE_PARAMS(3);
--- 2702,2706 ----
struct userData *actor;
enum userLevel access, new_access = ulNone;
! int privileged = IsHelping(user) && ((user->handle_info->opserv_level > 0) || !IsProtected(channel->channel_info));
REQUIRE_PARAMS(3);
|