Tweak default access restrictions for "set unreviewed *".
authorMichael Poole <mdpoole@troilus.org>
Sun, 18 Mar 2007 14:37:58 +0000 (10:37 -0400)
committerMichael Poole <mdpoole@troilus.org>
Sun, 18 Mar 2007 14:37:58 +0000 (10:37 -0400)
src/chanserv.c (init_chanserv): Default "set unreviewed on" to +helping
  and "set unreviewed off" to +oper.

src/chanserv.c

index 8bc2a6100de4be82242795aeb47400c3fe1aacf8..f9381870bc3c4567810be2a52b13f7a07f4415d7 100644 (file)
@@ -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);