[srvx-commits] CVS: services/src modcmd.c,1.51,1.52
Brought to you by:
entrope
|
From: Zoot <zo...@us...> - 2003-01-25 01:28:12
|
Update of /cvsroot/srvx/services/src
In directory sc8-pr-cvs1:/tmp/cvs-serv31104/src
Modified Files:
modcmd.c
Log Message:
Don't log invocations of the help or command commands by default.
Index: modcmd.c
===================================================================
RCS file: /cvsroot/srvx/services/src/modcmd.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -r1.51 -r1.52
*** modcmd.c 25 Jan 2003 01:15:28 -0000 1.51
--- modcmd.c 25 Jan 2003 01:28:06 -0000 1.52
***************
*** 1704,1709 ****
modcmd_module = module_register("modcmd", MAIN_LOG, "modcmd.help", NULL);
bind_command = modcmd_register(modcmd_module, "bind", cmd_bind, 4, MODCMD_KEEP_BOUND, "access", "800", NULL);
! help_command = modcmd_register(modcmd_module, "help", cmd_help, 1, 0, NULL);
! modcmd_register(modcmd_module, "command", cmd_command, 2, 0, NULL);
modcmd_register(modcmd_module, "modcmd", cmd_modcmd, 4, MODCMD_KEEP_BOUND, "template", "bind", NULL);
modcmd_register(modcmd_module, "god", cmd_god, 0, MODCMD_REQUIRE_AUTHED, "flags", "+oper,+networkhelper", NULL);
--- 1704,1709 ----
modcmd_module = module_register("modcmd", MAIN_LOG, "modcmd.help", NULL);
bind_command = modcmd_register(modcmd_module, "bind", cmd_bind, 4, MODCMD_KEEP_BOUND, "access", "800", NULL);
! help_command = modcmd_register(modcmd_module, "help", cmd_help, 1, 0, "flags", "+nolog", NULL);
! modcmd_register(modcmd_module, "command", cmd_command, 2, 0, "flags", "+nolog", NULL);
modcmd_register(modcmd_module, "modcmd", cmd_modcmd, 4, MODCMD_KEEP_BOUND, "template", "bind", NULL);
modcmd_register(modcmd_module, "god", cmd_god, 0, MODCMD_REQUIRE_AUTHED, "flags", "+oper,+networkhelper", NULL);
|