diff --git a/modules/print_activity.py b/modules/print_activity.py index 0a3d3c53..63043d54 100644 --- a/modules/print_activity.py +++ b/modules/print_activity.py @@ -68,7 +68,8 @@ class Module(object): def on_quit(self, event): if not self.bot.args.verbose: - self.print_line(event, "%s quit" % event["user"].nickname) + self.print_line(event, "%s quit%s" % (event["user"].nickname, + "" if not event["reason"] else " (%s" % event["reason"])) def _on_kick(self, event, nickname): if not self.bot.args.verbose: