mirror of
				https://github.com/Mikaela/Limnoria.git
				synced 2025-11-04 01:27:21 +01:00 
			
		
		
		
	Remove unreachable code.
This commit is contained in:
		
							parent
							
								
									785b973995
								
							
						
					
					
						commit
						05d23d1a06
					
				@ -520,12 +520,6 @@ class RichReplyMethods(object):
 | 
			
		||||
                v %= capability
 | 
			
		||||
            s = self.__makeReply(v, s)
 | 
			
		||||
            return self._error(s, **kwargs)
 | 
			
		||||
            if self._getConfig(conf.supybot.reply.error.noCapability):
 | 
			
		||||
                v = self._getConfig(conf.supybot.replies.genericNoCapability)
 | 
			
		||||
            else:
 | 
			
		||||
                v = self._getConfig(conf.supybot.replies.noCapability)
 | 
			
		||||
            s = self.__makeReply(v % capability, s)
 | 
			
		||||
            return self._error(s, **kwargs)
 | 
			
		||||
        else:
 | 
			
		||||
            log.warning('Denying %s for some unspecified capability '
 | 
			
		||||
                        '(or a default).', self.msg.prefix)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user