diff options
| author | 2018-11-27 17:36:22 +0000 | |
|---|---|---|
| committer | 2018-11-27 17:36:22 +0000 | |
| commit | 4ae7d3fbabcd0af6b147244c4bcaeef1cf3cfc5b (patch) | |
| tree | e9a232cf3ac04a0a79e50528930b91fe35f0dfd3 /modules | |
| parent | Copypaste 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.py | 5 |
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"])) |
