mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 08:57:25 +01:00 
			
		
		
		
	coreplugin: remove irc.connected check
This is misleading when the network fails to connect at daemon start, for example. Reverts parts of c5acd5c and 2080a39.
This commit is contained in:
		
							parent
							
								
									064cb9b6aa
								
							
						
					
					
						commit
						ef4cb8b773
					
				@ -396,12 +396,3 @@ def rehash(irc, source, args):
 | 
			
		||||
    else:
 | 
			
		||||
        irc.reply("Done.")
 | 
			
		||||
 | 
			
		||||
def main(irc=None):
 | 
			
		||||
    # This is a global sanity check, to make sure the protocol module is doing
 | 
			
		||||
    # its job.
 | 
			
		||||
    if irc and not irc.connected.wait(2):
 | 
			
		||||
        log.warning('(%s) IRC network %s (protocol %s) has not set '
 | 
			
		||||
                    'irc.connected state after 2 seconds - this may be a bug '
 | 
			
		||||
                    'in the protocol module, and will cause plugins like '
 | 
			
		||||
                    'relay to not work correctly!', irc.name, irc.name,
 | 
			
		||||
                    irc.protoname)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user