3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-30 14:49:28 +01:00

ts6: fallback realhost to host, not None

This commit is contained in:
James Lu 2017-08-11 12:19:23 -07:00
parent 785fc8d2d2
commit dfa90378df

View File

@ -524,7 +524,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.name, nick, ts, uid,