mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-24 03:29:28 +01:00
relay: more compact "showuser" output
This commit is contained in:
parent
1c97927b5d
commit
1fcacd0d7c
@ -1157,12 +1157,12 @@ def showuser(irc, source, args):
|
||||
else:
|
||||
nicks = []
|
||||
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))
|
||||
for r in remoteusers:
|
||||
remotenet, remoteuser = r
|
||||
remoteirc = world.networkobjects[remotenet]
|
||||
nicks.append('%s: \x02%s\x02' % (remotenet, remoteirc.users[remoteuser].nick))
|
||||
nicks.append('%s:\x02%s\x02' % (remotenet, remoteirc.users[remoteuser].nick))
|
||||
irc.msg(source, "\x02Relay nicks\x02: %s" % ', '.join(nicks))
|
||||
relaychannels = []
|
||||
for ch in irc.users[u].channels:
|
||||
|
Loading…
Reference in New Issue
Block a user