Improve output of gathered user details.

This commit is contained in:
Krytarik Raido 2022-03-12 03:50:04 +01:00
parent a62ac36f62
commit f02c24868a

View File

@ -1348,13 +1348,13 @@ class Nick(object):
def __repr__(self):
ip = self.ip
if ip is None:
ip = ''
ip = '(n/a)'
account = self.account
if account is None:
account = ''
account = '(n/a)'
realname = self.realname
if realname is None:
realname = ''
realname = '(n/a)'
return '%s ip:%s account:%s username:%s' % (self.prefix, ip, account, realname)