From bb84fc0291bc49d918a08fd68ec2e4fee86a2557 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 30 Jan 2019 08:10:41 +0000 Subject: [PATCH] Add a `permission` to !channelunset and !channelget (set.py) --- modules/set.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/set.py b/modules/set.py index 762fb400..354ffc5d 100644 --- a/modules/set.py +++ b/modules/set.py @@ -117,6 +117,7 @@ class Module(ModuleManager.BaseModule): :help: Get a specified channel setting for the current channel :usage: :require_mode: o + :permission: channelsetoverride """ setting = event["args_split"][0] self._get(event, setting, " for %s" % event["target"].name, @@ -168,6 +169,6 @@ class Module(ModuleManager.BaseModule): :help: Unset a specified user setting :usage: :require_mode: high - :permission: channelunsetoverride + :permission: channelsetoverride """ self._unset(event, event["args_split"][0], "channelset", event["user"])