Pass channel object along with formatted.notice.channel events

This commit is contained in:
jesopo 2019-07-02 08:18:41 +01:00
parent a3c62f117a
commit 6bb3b65fb8

View file

@ -47,7 +47,7 @@ class Module(ModuleManager.BaseModule):
def _channel_notice(self, event, sender, channel):
line = self._on_notice(event, sender)
self._event("notice.channel", event["server"], line,
event["channel"].name, parsed_line=event["line"])
event["channel"].name, parsed_line=event["line"], channel=channel)
def _private_notice(self, event, sender, target):
line = self._on_notice(event, sender)