mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 00:47:21 +01:00 
			
		
		
		
	relay.handle_kill: prevent yet another RuntimeError
(cherry picked from commit 4525b8117ef2f872768d1b696484f3b55b133eb1) Conflicts: plugins/relay.py
This commit is contained in:
		
							parent
							
								
									6d6606900e
								
							
						
					
					
						commit
						8d44830d5c
					
				@ -632,7 +632,7 @@ def handle_kill(irc, numeric, command, args):
 | 
			
		||||
        # client and rejoin it to its channels.
 | 
			
		||||
        del relayusers[realuser][irc.name]
 | 
			
		||||
        remoteirc = utils.networkobjects[realuser[0]]
 | 
			
		||||
        for remotechan in remoteirc.channels:
 | 
			
		||||
        for remotechan in remoteirc.channels.copy():
 | 
			
		||||
            localchan = findRemoteChan(remoteirc, irc, remotechan)
 | 
			
		||||
            if localchan:
 | 
			
		||||
                modes = getPrefixModes(remoteirc, irc, localchan, realuser[1])
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user