[srvx-commits] CVS: services/src modcmd.c,1.71,1.72
Brought to you by:
entrope
From: Entrope <en...@us...> - 2003-10-19 17:00:51
|
Update of /cvsroot/srvx/services/src In directory sc8-pr-cvs1:/tmp/cvs-serv420/src Modified Files: modcmd.c Log Message: report HELPING-required commands as staff commands, too Index: modcmd.c =================================================================== RCS file: /cvsroot/srvx/services/src/modcmd.c,v retrieving revision 1.71 retrieving revision 1.72 diff -C2 -r1.71 -r1.72 *** modcmd.c 18 Oct 2003 15:52:21 -0000 1.71 --- modcmd.c 19 Oct 2003 15:31:59 -0000 1.72 *************** *** 537,544 **** } } ! if ((flags & MODCMD_REQUIRE_HELPING) && !HANDLE_FLAGGED(user->handle_info, HELPING)) { ! if (options & SVCCMD_NOISY) ! send_message(user, bot, MCMSG_MUST_BE_HELPING); ! return 0; } if (cmd->min_opserv_level > 0) { --- 537,547 ---- } } ! if (flags & MODCMD_REQUIRE_HELPING) { ! if (!HANDLE_FLAGGED(user->handle_info, HELPING)) { ! if (options & SVCCMD_NOISY) ! send_message(user, bot, MCMSG_MUST_BE_HELPING); ! return 0; ! } ! rflags |= ACTION_STAFF; } if (cmd->min_opserv_level > 0) { |