mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Enfore capability checks when supybot.reply.error.noCapability is False.
This commit is contained in:
parent
bb2c8d472e
commit
c310d74a19
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user