diff options
| author | 2019-06-14 12:25:53 +0100 | |
|---|---|---|
| committer | 2019-06-14 12:25:53 +0100 | |
| commit | 7a5af8f558f5216e76f773f2cb78f2b6d7fbcd43 (patch) | |
| tree | 36d4c6dd674d4f016bcbfbe8e4717ca13ce17ca6 | |
| parent | Fix utils.Check `args` type hinting (diff) | |
| signature | ||
`yield` already generated permission check for serverset/botset
| -rw-r--r-- | modules/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/config.py b/modules/config.py index ba02f308..6f7e1e6e 100644 --- a/modules/config.py +++ b/modules/config.py @@ -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: |
