From 15475ec507b3225692a2dcb0522e9cc6023e79c1 Mon Sep 17 00:00:00 2001 From: Nicolas Coevoet Date: Wed, 23 Jun 2021 21:31:47 +0200 Subject: [PATCH] preparing new feature allowing op to configure their channels --- config.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.py b/config.py index d65d4f6..b086767 100644 --- a/config.py +++ b/config.py @@ -74,6 +74,9 @@ conf.registerChannelValue(ChanTracker, 'useIpForGateway', conf.registerChannelValue(ChanTracker, 'triggerOps', registry.Boolean(False, """!ops triggers a message in logChannel""")) +conf.registerChannelValue(ChanTracker, 'allowOpToConfig', + registry.Boolean(False, """grant channel operators the ability to configure some chantracker protections for their channel""")) + conf.registerChannelValue(ChanTracker, 'opCommand', registry.String("PRIVMSG ChanServ :OP $channel $nick", """command used to obtain channel operator mode"""), opSettable=False)