mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Change the behavior to match the naming and help.
This commit is contained in:
parent
23393edd83
commit
3bdef0fabf
@ -359,7 +359,7 @@ class RichReplyMethods(object):
|
||||
if isinstance(capability, basestring): # checkCommandCapability!
|
||||
log.warning('Denying %s for lacking %r capability',
|
||||
self.msg.prefix, capability)
|
||||
if not conf.supybot.reply.noCapabilityError():
|
||||
if conf.supybot.reply.noCapabilityError():
|
||||
v = conf.supybot.replies.noCapability.get(self.msg.args[0])()
|
||||
s = self.__makeReply(v % capability, s)
|
||||
self.error(s, **kwargs)
|
||||
|
Loading…
Reference in New Issue
Block a user