mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 08:57:25 +01:00 
			
		
		
		
	IRCS2SProtocol: fix wrong if: statement regarding user presence
This commit is contained in:
		
							parent
							
								
									00f70a9432
								
							
						
					
					
						commit
						5381e85d3c
					
				@ -607,7 +607,7 @@ class IRCS2SProtocol(IRCCommonProtocol):
 | 
			
		||||
        channels = args[0].split(',')
 | 
			
		||||
 | 
			
		||||
        for channel in channels.copy():
 | 
			
		||||
            if source not in channel:
 | 
			
		||||
            if channel not in self.channels or source not in self.channels[channel].users:
 | 
			
		||||
                # Ignore channels the user isn't on, and remove them from any hook payloads.
 | 
			
		||||
                channels.remove(channel)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user