Change the behavior to match the naming and help.

This commit is contained in:
James Vega 2004-02-14 07:21:08 +00:00
parent 23393edd83
commit 3bdef0fabf

View File

@ -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)