aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands.py b/modules/commands.py
index 1cf3a9e3..f366b90c 100644
--- a/modules/commands.py
+++ b/modules/commands.py
@@ -96,8 +96,8 @@ class Module(ModuleManager.BaseModule):
stdout, stderr = StdOut(module_name, target), StdErr(module_name,
target)
- returns = self.events.on("preprocess.command"
- ).call(hook=hook, user=event["user"], server=event["server"],
+ returns = self.events.on("preprocess.command").unsafe_call(
+ hook=hook, user=event["user"], server=event["server"],
target=target, is_channel=is_channel, tags=event["tags"])
for returned in returns:
if returned: