pass ParsedLine objects on raw.send.<command> events

This commit is contained in:
jesopo 2019-06-21 10:33:00 +01:00
parent 66393bcdbc
commit b549773bf8

View file

@ -32,7 +32,7 @@ class Module(ModuleManager.BaseModule):
self.events.on("raw.send").on(event["line"].command).call_unsafe(
command=event["line"].command, args=event["line"].args,
tags=event["line"].tags, server=event["server"],
direction=utils.Direction.Send)
direction=utils.Direction.Send, line=event["line"])
# ping from the server
@utils.hook("raw.received.ping")