aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2018-10-01 16:32:24 +0100
committerGravatar jesopo2018-10-01 16:32:24 +0100
commite9416034df319e965dbf48b9c0c65f24ca8f2550 (patch)
tree717eabaf24d12bc4ec5db32419df3d4d9b6fb5da /modules
parentSome networks send NICK as 'nick!user@host NICK newnick` instead of (diff)
signature
Typo in modules.commands.py, 'unsafe_call' -> 'call_unsafe'
Diffstat (limited to 'modules')
-rw-r--r--modules/commands.py2
1 files changed, 1 insertions, 1 deletions
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: