mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +01:00
relay: sort channel links in LINKED output
This commit is contained in:
parent
06d22722dc
commit
f25c260937
@ -1282,7 +1282,7 @@ def linked(irc, source, args):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
if v['links']: # Join up and output all the linked channel names.
|
if v['links']: # Join up and output all the linked channel names.
|
||||||
s += ' '.join([''.join(link) for link in v['links']])
|
s += ' '.join([''.join(link) for link in sorted(v['links'])])
|
||||||
else: # Unless it's empty; then, well... just say no relays yet.
|
else: # Unless it's empty; then, well... just say no relays yet.
|
||||||
s += '(no relays yet)'
|
s += '(no relays yet)'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user