From 7a5af8f558f5216e76f773f2cb78f2b6d7fbcd43 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 14 Jun 2019 12:25:53 +0100 Subject: [PATCH] `yield` already generated permission check for serverset/botset --- modules/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: