mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 00:47:21 +01:00 
			
		
		
		
	
							parent
							
								
									08b2eb7c45
								
							
						
					
					
						commit
						81fca49738
					
				@ -1604,8 +1604,11 @@ def linked(irc, source, args):
 | 
			
		||||
                else:
 | 
			
		||||
                    continue
 | 
			
		||||
 | 
			
		||||
        if v['links']:  # Join up and output all the linked channel names.
 | 
			
		||||
            s += ' '.join([''.join(link) for link in sorted(v['links'])])
 | 
			
		||||
        if v['links']:
 | 
			
		||||
            # Sort, join up and output all the linked channel names. Silently drop
 | 
			
		||||
            # entries for disconnected networks.
 | 
			
		||||
            s += ' '.join([''.join(link) for link in sorted(v['links']) if link[0] in world.networkobjects
 | 
			
		||||
                           and world.networkobjects[link[0]].connected.is_set()])
 | 
			
		||||
 | 
			
		||||
        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