[srvx-commits] CVS: services/src chanserv.c,1.326,1.327
Brought to you by:
entrope
|
From: Entrope <en...@us...> - 2003-01-01 00:02:48
|
Update of /cvsroot/srvx/services/src
In directory sc8-pr-cvs1:/tmp/cvs-serv9617/src
Modified Files:
chanserv.c
Log Message:
cmd_wipeinfo should use override access for actor, not their (possibly null) true access
Index: chanserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/chanserv.c,v
retrieving revision 1.326
retrieving revision 1.327
diff -C2 -r1.326 -r1.327
*** chanserv.c 31 Dec 2002 23:59:35 -0000 1.326
--- chanserv.c 1 Jan 2003 00:02:43 -0000 1.327
***************
*** 4389,4393 ****
REQUIRE_PARAMS(2);
! actor = GetChannelAccess(channel->channel_info, user->handle_info);
if(!(victim = chanserv_get_handle_info(user, argv[1]))) return 0;
if(!(ud = GetTrueChannelAccess(channel->channel_info, victim)))
--- 4389,4393 ----
REQUIRE_PARAMS(2);
! actor = GetChannelUser(channel->channel_info, user->handle_info);
if(!(victim = chanserv_get_handle_info(user, argv[1]))) return 0;
if(!(ud = GetTrueChannelAccess(channel->channel_info, victim)))
|