mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 12:12:54 +01:00
Remove unreachable code.
This commit is contained in:
parent
785b973995
commit
05d23d1a06
@ -520,12 +520,6 @@ class RichReplyMethods(object):
|
|||||||
v %= capability
|
v %= capability
|
||||||
s = self.__makeReply(v, s)
|
s = self.__makeReply(v, s)
|
||||||
return self._error(s, **kwargs)
|
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:
|
else:
|
||||||
log.warning('Denying %s for some unspecified capability '
|
log.warning('Denying %s for some unspecified capability '
|
||||||
'(or a default).', self.msg.prefix)
|
'(or a default).', self.msg.prefix)
|
||||||
|
Loading…
Reference in New Issue
Block a user