3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-27 21:19:31 +01:00

relay: more compact "showuser" output

This commit is contained in:
James Lu 2015-09-12 16:03:59 -07:00
parent 1c97927b5d
commit 1fcacd0d7c

View File

@ -1157,7 +1157,7 @@ def showuser(irc, source, args):
else: else:
nicks = [] nicks = []
if remoteusers: if remoteusers:
nicks.append('%s (home network): \x02%s\x02' % (userpair[0], nicks.append('%s:\x02%s\x02' % (userpair[0],
world.networkobjects[userpair[0]].users[userpair[1]].nick)) world.networkobjects[userpair[0]].users[userpair[1]].nick))
for r in remoteusers: for r in remoteusers:
remotenet, remoteuser = r remotenet, remoteuser = r