Show who invited who when printing and invite (print_activity.py)

This commit is contained in:
jesopo 2018-11-27 17:36:22 +00:00
parent 6077d06c99
commit 4ae7d3fbab

View file

@ -127,5 +127,6 @@ class Module(ModuleManager.BaseModule):
@utils.hook("received.invite")
def invite(self, event):
self.print_line(event, "%s was invited to %s" % (
event["user"].nickname, event["target_channel"]))
self.print_line(event, "%s invited %s to %s" % (
event["user"].nickname, event["target_user"].nickname,
event["target_channel"]))