mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
Raise error even if supybot.replies.(generic)noCapability is empty.
This commit is contained in:
parent
11dd5049fe
commit
c1d3bad64f
@ -519,6 +519,8 @@ class RichReplyMethods(object):
|
|||||||
s = self.__makeReply(v, s)
|
s = self.__makeReply(v, s)
|
||||||
if s:
|
if s:
|
||||||
return self._error(s, **kwargs)
|
return self._error(s, **kwargs)
|
||||||
|
elif kwargs['Raise']:
|
||||||
|
raise Error()
|
||||||
|
|
||||||
def errorPossibleBug(self, s='', **kwargs):
|
def errorPossibleBug(self, s='', **kwargs):
|
||||||
v = self._getConfig(conf.supybot.replies.possibleBug)
|
v = self._getConfig(conf.supybot.replies.possibleBug)
|
||||||
|
Loading…
Reference in New Issue
Block a user