From b768ba71edbd3da433be0c887b55475f80b55d22 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 14 Sep 2018 10:43:52 +0100 Subject: Don't pass nickname!username@hostname through to IRCChannel's add_mode on /NAMES resposne --- IRCLineHandler.py | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.3.1-10-gc9f91