diff --git a/modules/commands.py b/modules/commands.py index f366b90c..9aeb26bb 100644 --- a/modules/commands.py +++ b/modules/commands.py @@ -96,7 +96,7 @@ class Module(ModuleManager.BaseModule): stdout, stderr = StdOut(module_name, target), StdErr(module_name, target) - returns = self.events.on("preprocess.command").unsafe_call( + 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"]) for returned in returns: