Fixed a simple XXX.

This commit is contained in:
Jeremy Fincher 2005-01-07 15:49:11 +00:00
parent 0d793fc03c
commit 69f71d1850

View File

@ -499,7 +499,9 @@ class RichReplyMethods(object):
v = self._getConfig(conf.supybot.replies.noCapability)
s = self.__makeReply(v % capability, s)
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:
log.warning('Denying %s for some unspecified capability '
'(or a default).', self.msg.prefix)