mirror of
https://github.com/ncoevoet/ChanTracker.git
synced 2025-04-26 04:51:07 -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):
|
def __repr__(self):
|
||||||
ip = self.ip
|
ip = self.ip
|
||||||
if ip is None:
|
if ip is None:
|
||||||
ip = ''
|
ip = '(n/a)'
|
||||||
account = self.account
|
account = self.account
|
||||||
if account is None:
|
if account is None:
|
||||||
account = ''
|
account = '(n/a)'
|
||||||
realname = self.realname
|
realname = self.realname
|
||||||
if realname is None:
|
if realname is None:
|
||||||
realname = ''
|
realname = '(n/a)'
|
||||||
return '%s ip:%s account:%s username:%s' % (self.prefix, ip, account, realname)
|
return '%s ip:%s account:%s username:%s' % (self.prefix, ip, account, realname)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user