mirror of
https://github.com/jlu5/PyLink.git
synced 2025-02-25 18:00:39 +01:00
ts6: fallback realhost to host, not None
This commit is contained in:
parent
785fc8d2d2
commit
dfa90378df
@ -524,7 +524,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.name, nick, ts, uid,
|
'host=%s realname=%s realhost=%s ip=%s', self.name, nick, ts, uid,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user