Typo in modules.commands.py, 'unsafe_call' -> 'call_unsafe'
This commit is contained in:
parent
ee96b3310b
commit
e9416034df
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue