mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-25 12:12:53 +01:00
ts6: fallback realhost to host, not None
(cherry picked from commit dfa90378df
)
This commit is contained in:
parent
7fcefa41af
commit
dd5a0c4892
@ -502,7 +502,7 @@ class TS6Protocol(TS6BaseProtocol):
|
|||||||
self.check_nick_collision(nick)
|
self.check_nick_collision(nick)
|
||||||
ts, modes, ident, host, ip, uid, realhost, accountname, realname = args[2:11]
|
ts, modes, ident, host, ip, uid, realhost, accountname, realname = args[2:11]
|
||||||
if realhost == '*':
|
if realhost == '*':
|
||||||
realhost = None
|
realhost = host
|
||||||
|
|
||||||
log.debug('(%s) handle_euid got args: nick=%s ts=%s uid=%s ident=%s '
|
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,
|
'host=%s realname=%s realhost=%s ip=%s', self.irc.name, nick, ts, uid,
|
||||||
|
Loading…
Reference in New Issue
Block a user