aboutsummaryrefslogtreecommitdiff
path: root/modules/set.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-10 22:32:44 +0000
committerGravatar jesopo2018-11-10 22:32:44 +0000
commitdbe0d6cdab2e801d60d952a77be4183e29fd03c0 (patch)
tree5b20ba109cf930f29f16bc7693ad45922389ab8c /modules/set.py
parentAdd basic access controls to modules/rest_api.py (diff)
signature
Treat "low"/"high" as synonymous with "v"/"o" but with a settable override in
modules/check_mode.py
Diffstat (limited to 'modules/set.py')
-rw-r--r--modules/set.py4
1 files changed, 2 insertions, 2 deletions
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):