raw.* events should be call_unsafe
This commit is contained in:
parent
908edeb1e1
commit
4296d1ee8e
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
"tags": line.tags, "last": line.last,
|
"tags": line.tags, "last": line.last,
|
||||||
"server": line.server, "prefix": line.prefix}
|
"server": line.server, "prefix": line.prefix}
|
||||||
|
|
||||||
self.events.on("raw").on(line.command).call(**kwargs)
|
self.events.on("raw").on(line.command).call_unsafe(**kwargs)
|
||||||
if default_event or not hooks:
|
if default_event or not hooks:
|
||||||
if line.command.isdigit():
|
if line.command.isdigit():
|
||||||
self.events.on("received.numeric").on(line.command).call(
|
self.events.on("received.numeric").on(line.command).call(
|
||||||
|
|
Loading…
Reference in a new issue