[srvx-commits] CVS: services/src modcmd.c,1.60,1.61
Brought to you by:
entrope
|
From: Entrope <en...@us...> - 2003-07-23 02:58:15
|
Update of /cvsroot/srvx/services/src
In directory sc8-pr-cvs1:/tmp/cvs-serv4734/src
Modified Files:
modcmd.c
Log Message:
check user's account stamp before seeing if he is helping
Index: modcmd.c
===================================================================
RCS file: /cvsroot/srvx/services/src/modcmd.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -C2 -r1.60 -r1.61
*** modcmd.c 16 Jul 2003 00:54:40 -0000 1.60
--- modcmd.c 23 Jul 2003 02:58:08 -0000 1.61
***************
*** 461,465 ****
} else if (IsSuspended(channel->channel_info) && !(flags & MODCMD_IGNORE_CSUSPEND)) {
/* allow security-override users to always ignore channel suspensions, but flag it as a staff command */
! if (!HANDLE_FLAGGED(user->handle_info, HELPING)) {
if (options & SVCCMD_NOISY) send_message(user, bot, MCMSG_CHAN_SUSPENDED, channel->name, channel->channel_info->suspended->reason);
return 0;
--- 461,465 ----
} else if (IsSuspended(channel->channel_info) && !(flags & MODCMD_IGNORE_CSUSPEND)) {
/* allow security-override users to always ignore channel suspensions, but flag it as a staff command */
! if (!user->handle_info || !HANDLE_FLAGGED(user->handle_info, HELPING)) {
if (options & SVCCMD_NOISY) send_message(user, bot, MCMSG_CHAN_SUSPENDED, channel->name, channel->channel_info->suspended->reason);
return 0;
|