aboutsummaryrefslogtreecommitdiff
path: root/modules/line_handler/channel.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/line_handler/channel.py')
-rw-r--r--modules/line_handler/channel.py5
1 files changed, 2 insertions, 3 deletions
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