mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-20 09:04:36 +01:00
Fixed a simple XXX.
This commit is contained in:
parent
0d793fc03c
commit
69f71d1850
@ -499,7 +499,9 @@ class RichReplyMethods(object):
|
|||||||
v = self._getConfig(conf.supybot.replies.noCapability)
|
v = self._getConfig(conf.supybot.replies.noCapability)
|
||||||
s = self.__makeReply(v % capability, s)
|
s = self.__makeReply(v % capability, s)
|
||||||
return self._error(s, **kwargs)
|
return self._error(s, **kwargs)
|
||||||
# XXX We should log that we're *not* giving a capability error.
|
else:
|
||||||
|
log.debug('Not sending capability error, '
|
||||||
|
'supybot.reply.error.noCapability is False.')
|
||||||
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