raw.* events should be call_unsafe

This commit is contained in:
jesopo 2018-10-06 09:30:40 +01:00
parent 908edeb1e1
commit 4296d1ee8e

View file

@ -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(