From 776f2facedf7206f9a1646cf575976598c73a77e Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 17 Jan 2019 14:51:44 +0000 Subject: [PATCH] Actually use new `sender` arg for _on_notice() (print_activity.py) --- modules/print_activity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/print_activity.py b/modules/print_activity.py index bf1abbe2..c0618dd5 100644 --- a/modules/print_activity.py +++ b/modules/print_activity.py @@ -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):