Enfore capability checks when supybot.reply.error.noCapability is False.

This commit is contained in:
Valentin Lorentz 2012-05-01 13:15:54 +00:00
parent bb2c8d472e
commit c310d74a19

View File

@ -478,6 +478,7 @@ class RichReplyMethods(object):
else: else:
log.debug('Not sending capability error, ' log.debug('Not sending capability error, '
'supybot.reply.error.noCapability is False.') 'supybot.reply.error.noCapability is False.')
raise Error, 'error'
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)