Don't pass nickname!username@hostname through to IRCChannel's add_mode on

/NAMES resposne
This commit is contained in:
jesopo 2018-09-14 10:43:52 +01:00
parent 1eed727bc5
commit b768ba71ed

View file

@ -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