aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2018-09-14 10:43:52 +0100
committerGravatar jesopo2018-09-14 10:43:52 +0100
commitb768ba71edbd3da433be0c887b55475f80b55d22 (patch)
tree8df85a8020276be9080d26154e7e59ccc000b8c9
parentAdd !enablemodule and !disablemodule to modules.py (diff)
signature
Don't pass nickname!username@hostname through to IRCChannel's add_mode on
/NAMES resposne
-rw-r--r--IRCLineHandler.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/IRCLineHandler.py b/IRCLineHandler.py
index d452264d..25cf38b3 100644
--- a/IRCLineHandler.py
+++ b/IRCLineHandler.py
@@ -201,6 +201,7 @@ class LineHandler(object):
if "userhost-in-names" in event["server"].capabilities:
hostmask = Utils.seperate_hostmask(nickname)
+ nickname = hostmask.nickname
user = event["server"].get_user(hostmask.nickname)
user.username = hostmask.username
user.hostname = hostmask.hostname