From dbe0d6cdab2e801d60d952a77be4183e29fd03c0 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sat, 10 Nov 2018 22:32:44 +0000 Subject: Treat "low"/"high" as synonymous with "v"/"o" but with a settable override in modules/check_mode.py --- modules/set.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/set.py') diff --git a/modules/set.py b/modules/set.py index ceef713a..8516e443 100644 --- a/modules/set.py +++ b/modules/set.py @@ -51,11 +51,11 @@ class Module(ModuleManager.BaseModule): self._set("set", event, event["user"], event["command"]=="setadd") @utils.hook("received.command.channelset", channel_only=True, - require_mode="o", help=CHANNELSET_HELP) + require_mode="high", help=CHANNELSET_HELP) @utils.hook("received.command.channelsetoverride", channel_only=True, permission="channelsetoverride", help=CHANNELSET_HELP) @utils.hook("received.command.channelsetadd", channel_only=True, - require_mode="o", help=CHANNELSETADD_HELP) + require_mode="high", help=CHANNELSETADD_HELP) @utils.hook("received.command.channelsetaddoverride", channel_only=True, permission="channelsetoverride", help=CHANNELSETADD_HELP) def channel_set(self, event): -- cgit v1.3.1-10-gc9f91