mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 00:47:21 +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
 | 
			
		||||
 | 
			
		||||
        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.
 | 
			
		||||
            s += '(no relays yet)'
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user