mirror of
				https://github.com/Mikaela/Limnoria.git
				synced 2025-11-04 01:27:21 +01:00 
			
		
		
		
	Made the driver reset the Irc on disconnection, not connection.
This commit is contained in:
		
							parent
							
								
									c38099550e
								
							
						
					
					
						commit
						b1a392c691
					
				@ -77,11 +77,11 @@ class SupyIrcProtocol(LineReceiver):
 | 
			
		||||
 | 
			
		||||
    def connectionLost(self, failure):
 | 
			
		||||
        self.mostRecentCall.cancel()
 | 
			
		||||
        self.factory.irc.reset()
 | 
			
		||||
        debug.msg(failure.getErrorMessage(), 'normal')
 | 
			
		||||
 | 
			
		||||
    def connectionMade(self):
 | 
			
		||||
        self.factory.irc.driver = self
 | 
			
		||||
        self.factory.irc.reset()
 | 
			
		||||
 | 
			
		||||
    def die(self):
 | 
			
		||||
        self.transport.loseConnection()
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user