Oops, had to change a self.log to just a log.

This commit is contained in:
Jeremy Fincher 2004-01-12 19:19:47 +00:00
parent 94c2d9f0d2
commit bed5624e86

View File

@ -303,8 +303,8 @@ class RichReplyMethods(object):
self.reply(self._makeReply(conf.replyError, s), **kwargs)
def errorNoCapability(self, capability, s='', **kwargs):
self.log.warning('Denying %s for lacking %r capability',
self.msg.prefix, capability)
log.warning('Denying %s for lacking %r capability',
self.msg.prefix, capability)
s = self._makeReply(conf.replyNoCapability % capability, s)
self.error(s, **kwargs)