aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-27 17:36:22 +0000
committerGravatar jesopo2018-11-27 17:36:22 +0000
commit4ae7d3fbabcd0af6b147244c4bcaeef1cf3cfc5b (patch)
treee9a232cf3ac04a0a79e50528930b91fe35f0dfd3 /modules
parentCopypaste fail, 'target_channel' -> 'event["target_channel"]' (diff)
signature
Show who invited who when printing and invite (print_activity.py)
Diffstat (limited to 'modules')
-rw-r--r--modules/print_activity.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/print_activity.py b/modules/print_activity.py
index 53a5eb90..19219772 100644
--- a/modules/print_activity.py
+++ b/modules/print_activity.py
@@ -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"]))