From e9416034df319e965dbf48b9c0c65f24ca8f2550 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 1 Oct 2018 16:32:24 +0100 Subject: [PATCH] Typo in modules.commands.py, 'unsafe_call' -> 'call_unsafe' --- modules/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: