aboutsummaryrefslogtreecommitdiff
path: root/modules/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/config.py')
-rw-r--r--modules/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/config.py b/modules/config.py
index df6bf350..d041e178 100644
--- a/modules/config.py
+++ b/modules/config.py
@@ -167,8 +167,8 @@ class Module(ModuleManager.BaseModule):
"Cannot change config for current channel when in "
"private message")
event["check_assert"](permission_check|
- utils.Check("channel-access", "set")|
- utils.Check("channel-mode", "o"))
+ utils.Check("channel-access", target, "set")|
+ utils.Check("channel-mode", target, "o"))
elif context == "serverset" or context == "botset":
event["check_assert"](permission_check)