diff --git a/src/callbacks.py b/src/callbacks.py index 9e03c5c9f..9d1038bbb 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -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 conf.supybot.reply.noCapabilityError(): + if not conf.supybot.reply.noCapabilityError(): v = conf.supybot.replies.noCapability.get(self.msg.args[0])() s = self.__makeReply(v % capability, s) self.error(s, **kwargs) diff --git a/src/conf.py b/src/conf.py index adc90058d..ed1e2fa72 100644 --- a/src/conf.py +++ b/src/conf.py @@ -196,7 +196,7 @@ Determines whether the bot will send error messages to users in private.""")) supybot.reply.register('noCapabilityError', registry.Boolean(False, """ Determines whether the bot will send an error message to users who attempt to call a command for which they do not have the necessary capability. You may -wish to make this False if you don't want users to understand the underlying +wish to make this True if you don't want users to understand the underlying security system preventing them from running certain commands.""")) supybot.reply.register('withPrivateNotice', registry.Boolean(False, """