Show user hostmask (not just nick) on formatted.join

This commit is contained in:
jesopo 2019-03-12 10:41:45 +00:00
parent 10ca8a1219
commit df3075ce27

View file

@ -66,7 +66,7 @@ class Module(ModuleManager.BaseModule):
event["user"].nickname) event["user"].nickname)
def _on_join(self, event, user): def _on_join(self, event, user):
line = "- %s joined %s" % (user.nickname, event["channel"].name) line = "- %s joined %s" % (user.hostmask(), event["channel"].name)
self._event("join", event["server"], line, event["channel"].name, self._event("join", event["server"], line, event["channel"].name,
channel=event["channel"], user=user) channel=event["channel"], user=user)
@utils.hook("received.join") @utils.hook("received.join")