mirror of
https://github.com/ncoevoet/ChanTracker.git
synced 2025-04-25 20:41:19 -05:00
Improve output of gathered user details.
This commit is contained in:
parent
a62ac36f62
commit
f02c24868a
@ -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)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user