3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-24 11:42:51 +01:00

ts6: fallback realhost to host, not None

(cherry picked from commit dfa90378df)
This commit is contained in:
James Lu 2017-08-11 12:19:23 -07:00
parent 7fcefa41af
commit dd5a0c4892

View File

@ -502,7 +502,7 @@ class TS6Protocol(TS6BaseProtocol):
self.check_nick_collision(nick)
ts, modes, ident, host, ip, uid, realhost, accountname, realname = args[2:11]
if realhost == '*':
realhost = None
realhost = host
log.debug('(%s) handle_euid got args: nick=%s ts=%s uid=%s ident=%s '
'host=%s realname=%s realhost=%s ip=%s', self.irc.name, nick, ts, uid,