From 76212faed4666eaa7964b6be7ef929d4e7da310d Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 13 Nov 2019 11:19:28 +0000 Subject: [PATCH] change formatted JOIN to have userhost in parens --- modules/format_activity.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/format_activity.py b/modules/format_activity.py index 980d8e6d..4cdfe08a 100644 --- a/modules/format_activity.py +++ b/modules/format_activity.py @@ -84,7 +84,9 @@ class Module(ModuleManager.BaseModule): def _on_join(self, event, user): nickname = self._colorize(user.nickname) hostmask = "%s!%s" % (nickname, user.userhost()) - line = "- %s joined %s" % (hostmask, event["channel"].name) + + line = "- %s (%s) joined %s" % (nickname, user.userhost(), + event["channel"].name) minimal_line = "%s joined %s" % (nickname, event["channel"].name) self._event("join", event["server"], line, event["channel"].name,