yield
already generated permission check for serverset/botset
This commit is contained in:
parent
e0d99fe8b1
commit
7a5af8f558
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ class Module(ModuleManager.BaseModule):
|
|||
"Cannot change config for current channel when in "
|
||||
"private message")
|
||||
elif context == "serverset" or context == "botset":
|
||||
yield utils.Check("permission", "config")
|
||||
yield permission_check
|
||||
|
||||
export_settings = self._get_export_setting(context)
|
||||
if not setting == None:
|
||||
|
|
Loading…
Reference in a new issue