mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 00:47:21 +01:00 
			
		
		
		
	clientbot: remove references to self.irc
Reported by @genius3000.
This commit is contained in:
		
							parent
							
								
									380854f88a
								
							
						
					
					
						commit
						a19f257bd8
					
				@ -754,9 +754,9 @@ class ClientbotWrapperProtocol(ClientbotBaseProtocol, IRCCommonProtocol):
 | 
			
		||||
        # Send JOIN hook payloads only for users that we know the ident@host of already.
 | 
			
		||||
        # This is mostly used to resync kicked Clientbot users that can't actually be kicked
 | 
			
		||||
        # after a delay.
 | 
			
		||||
        if names and hasattr(self.irc.channels[channel], '_clientbot_initial_who_received'):
 | 
			
		||||
        if names and hasattr(self.channels[channel], '_clientbot_initial_who_received'):
 | 
			
		||||
            log.debug('(%s) handle_353: sending JOIN hook because /WHO was already received for %s',
 | 
			
		||||
                      self.irc.name, channel)
 | 
			
		||||
                      self.name, channel)
 | 
			
		||||
            return {'channel': channel, 'users': names, 'modes': self._channels[channel].modes,
 | 
			
		||||
                    'parse_as': "JOIN"}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user