From 52f2d122cb986c1ebcfded6ce43d35fdaf75da44 Mon Sep 17 00:00:00 2001 From: Michael Poole Date: Sun, 18 Mar 2007 10:37:58 -0400 Subject: [PATCH] Tweak default access restrictions for "set unreviewed *". src/chanserv.c (init_chanserv): Default "set unreviewed on" to +helping and "set unreviewed off" to +oper. --- src/chanserv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.20.1