From: Michael Poole Date: Sun, 18 Mar 2007 14:37:58 +0000 (-0400) Subject: Tweak default access restrictions for "set unreviewed *". X-Git-Tag: v1.4.0-rc1~45 X-Git-Url: http://git.pk910.de/?p=srvx.git;a=commitdiff_plain;h=52f2d122cb986c1ebcfded6ce43d35fdaf75da44 Tweak default access restrictions for "set unreviewed *". src/chanserv.c (init_chanserv): Default "set unreviewed on" to +helping and "set unreviewed off" to +oper. --- diff --git a/src/chanserv.c b/src/chanserv.c index 8bc2a61..f938187 100644 --- a/src/chanserv.c +++ b/src/chanserv.c @@ -7785,8 +7785,8 @@ init_chanserv(const char *nick) DEFINE_CHANNEL_OPTION(ctcpreaction); DEFINE_CHANNEL_OPTION(inviteme); DEFINE_CHANNEL_OPTION(unreviewed); - modcmd_register(chanserv_module, "set unreviewed on", NULL, 0, 0, NULL); - modcmd_register(chanserv_module, "set unreviewed off", NULL, 0, 0, NULL); + modcmd_register(chanserv_module, "set unreviewed on", NULL, 0, 0, "flags", "+helping", NULL); + modcmd_register(chanserv_module, "set unreviewed off", NULL, 0, 0, "flags", "+oper", NULL); if(off_channel > 1) DEFINE_CHANNEL_OPTION(offchannel); modcmd_register(chanserv_module, "set defaults", chan_opt_defaults, 1, 0, "access", "owner", NULL);