Actually use new sender arg for _on_notice() (print_activity.py)

This commit is contained in:
jesopo 2019-01-17 14:51:44 +00:00
parent 2a7df864ef
commit 776f2faced

View file

@ -41,7 +41,7 @@ class Module(ModuleManager.BaseModule):
def _on_notice(self, event, sender, target):
self.print_line(event, "(notice->%s) <%s> %s" % (
target, event["user"].nickname, event["message"]))
target, sender, event["message"]))
@utils.hook("received.notice.channel",
priority=EventManager.PRIORITY_HIGH)
def channel_notice(self, event):