aboutsummaryrefslogtreecommitdiff
path: root/modules/format_activity.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/format_activity.py')
-rw-r--r--modules/format_activity.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/format_activity.py b/modules/format_activity.py
index 6ed6b8cc..1e7f540e 100644
--- a/modules/format_activity.py
+++ b/modules/format_activity.py
@@ -82,8 +82,10 @@ class Module(ModuleManager.BaseModule):
event["user"].nickname)
def _on_join(self, event, user):
- line = "- %s joined %s" % (user.hostmask(), event["channel"].name)
- minimal_line = "%s joined %s" % (user.nickname, event["channel"].name)
+ nickname = self._colorize(user.nickname)
+ hostmask = "%s!%s" % (nickname, user.userhost())
+ line = "- %s joined %s" % (hostmask, event["channel"].name)
+ minimal_line = "%s joined %s" % (nickname, event["channel"].name)
self._event("join", event["server"], line, event["channel"].name,
channel=event["channel"], user=user, minimal=minimal_line)