From dfa90378dfd056ade41c18ba213cd8408fc237b6 Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 11 Aug 2017 12:19:23 -0700 Subject: [PATCH] ts6: fallback realhost to host, not None --- protocols/ts6.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/ts6.py b/protocols/ts6.py index ef192d0..7220927 100644 --- a/protocols/ts6.py +++ b/protocols/ts6.py @@ -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,