aboutsummaryrefslogtreecommitdiff
path: root/modules/commands.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-01-30 11:16:09 +0000
committerGravatar jesopo2019-01-30 11:16:34 +0000
commit2071a1018053c59d6a0178a7595d56e01df44bab (patch)
tree1d1c57dbdec1eb729b7a43e0c1a838d1b0f6ef5c /modules/commands.py
parentAdd a `permission` to !channelunset and !channelget (set.py) (diff)
signature
Support a way to check user channel access in a private command
(channel_access.py)
Diffstat (limited to 'modules/commands.py')
-rw-r--r--modules/commands.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/commands.py b/modules/commands.py
index 7dca06cd..8e3772eb 100644
--- a/modules/commands.py
+++ b/modules/commands.py
@@ -171,7 +171,8 @@ class Module(ModuleManager.BaseModule):
returns = self.events.on("preprocess.command").call_unsafe(
hook=hook, user=event["user"], server=event["server"],
- target=target, is_channel=is_channel, tags=event["tags"])
+ target=target, is_channel=is_channel, tags=event["tags"],
+ args_split=args_split)
hard_fail = False
force_success = False