mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 08:57:25 +01:00 
			
		
		
		
	clientbot: fix possible TypeError in squit()
This commit is contained in:
		
							parent
							
								
									a2a32ed32f
								
							
						
					
					
						commit
						76a0eb78e3
					
				@ -312,7 +312,7 @@ class ClientbotWrapperProtocol(IRCCommonProtocol):
 | 
			
		||||
        # Removing pseudoclients and pseudoservers.
 | 
			
		||||
        squit_data = self._squit(source, 'CLIENTBOT_VIRTUAL_SQUIT', [target, text])
 | 
			
		||||
 | 
			
		||||
        if squit_data.get('nicks'):
 | 
			
		||||
        if squit_data and squit_data.get('nicks'):
 | 
			
		||||
            self.call_hooks([source, 'CLIENTBOT_SQUIT', squit_data])
 | 
			
		||||
 | 
			
		||||
    def _stub(self, *args):
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user