Don't pass nickname!username@hostname through to IRCChannel's add_mode on
/NAMES resposne
This commit is contained in:
parent
1eed727bc5
commit
b768ba71ed
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue