Actually use new sender
arg for _on_notice() (print_activity.py)
This commit is contained in:
parent
2a7df864ef
commit
776f2faced
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
|
|
||||||
def _on_notice(self, event, sender, target):
|
def _on_notice(self, event, sender, target):
|
||||||
self.print_line(event, "(notice->%s) <%s> %s" % (
|
self.print_line(event, "(notice->%s) <%s> %s" % (
|
||||||
target, event["user"].nickname, event["message"]))
|
target, sender, event["message"]))
|
||||||
@utils.hook("received.notice.channel",
|
@utils.hook("received.notice.channel",
|
||||||
priority=EventManager.PRIORITY_HIGH)
|
priority=EventManager.PRIORITY_HIGH)
|
||||||
def channel_notice(self, event):
|
def channel_notice(self, event):
|
||||||
|
|
Loading…
Reference in a new issue