Typo in modules.commands.py, 'unsafe_call' -> 'call_unsafe'

This commit is contained in:
jesopo 2018-10-01 16:32:24 +01:00
parent ee96b3310b
commit e9416034df

View file

@ -96,7 +96,7 @@ class Module(ModuleManager.BaseModule):
stdout, stderr = StdOut(module_name, target), StdErr(module_name, stdout, stderr = StdOut(module_name, target), StdErr(module_name,
target) 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"], 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"])
for returned in returns: for returned in returns: