mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 08:57:25 +01:00 
			
		
		
		
	Irc: move self.aborted.clear() to connect()
This commit is contained in:
		
							parent
							
								
									ad5cd51189
								
							
						
					
					
						commit
						35a9d7ccba
					
				@ -101,7 +101,6 @@ class Irc():
 | 
			
		||||
        self.pingtimeout = self.pingfreq * 3
 | 
			
		||||
 | 
			
		||||
        self.connected.clear()
 | 
			
		||||
        self.aborted.clear()
 | 
			
		||||
        self.pseudoclient = None
 | 
			
		||||
        self.lastping = time.time()
 | 
			
		||||
 | 
			
		||||
@ -167,6 +166,7 @@ class Irc():
 | 
			
		||||
        __init__ in a separate thread to allow multiple concurrent connections.
 | 
			
		||||
        """
 | 
			
		||||
        while True:
 | 
			
		||||
            self.aborted.clear()
 | 
			
		||||
            self.initVars()
 | 
			
		||||
            ip = self.serverdata["ip"]
 | 
			
		||||
            port = self.serverdata["port"]
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user