mirror of
				https://github.com/Mikaela/Limnoria.git
				synced 2025-11-04 01:27:21 +01:00 
			
		
		
		
	Make sure we're not trying to reply on the irc we just disconnected
This commit is contained in:
		
							parent
							
								
									ae48b426b4
								
							
						
					
					
						commit
						a6a45f9dc3
					
				@ -109,7 +109,8 @@ class Network(callbacks.Privmsg):
 | 
			
		||||
        otherIrc.queueMsg(ircmsgs.quit(quitMsg))
 | 
			
		||||
        otherIrc.die()
 | 
			
		||||
        conf.supybot.networks().discard(otherIrc.network)
 | 
			
		||||
        irc.replySuccess('Disconnection to %s initiated.' % otherIrc.network)
 | 
			
		||||
        if otherIrc != irc:
 | 
			
		||||
            irc.replySuccess('Disconnection to %s initiated.' % otherIrc.network)
 | 
			
		||||
    disconnect = wrap(disconnect, ['owner', 'networkIrc', additional('text')])
 | 
			
		||||
 | 
			
		||||
    def reconnect(self, irc, msg, args, otherIrc, quitMsg):
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user