diff --git a/modules/line_handler/channel.py b/modules/line_handler/channel.py index 3bbc109f..e10c9d22 100644 --- a/modules/line_handler/channel.py +++ b/modules/line_handler/channel.py @@ -78,9 +78,8 @@ def join(events, event): events.on("received.join").call(channel=channel, user=user, server=event["server"], account=account, realname=realname) - if not user.username and not user.hostname: - user.username = event["prefix"].username - user.hostname = event["prefix"].hostname + user.username = event["prefix"].username + user.hostname = event["prefix"].hostname if account: user.identified_account = account