mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
Oops, had to change a self.log to just a log.
This commit is contained in:
parent
94c2d9f0d2
commit
bed5624e86
@ -303,8 +303,8 @@ class RichReplyMethods(object):
|
|||||||
self.reply(self._makeReply(conf.replyError, s), **kwargs)
|
self.reply(self._makeReply(conf.replyError, s), **kwargs)
|
||||||
|
|
||||||
def errorNoCapability(self, capability, s='', **kwargs):
|
def errorNoCapability(self, capability, s='', **kwargs):
|
||||||
self.log.warning('Denying %s for lacking %r capability',
|
log.warning('Denying %s for lacking %r capability',
|
||||||
self.msg.prefix, capability)
|
self.msg.prefix, capability)
|
||||||
s = self._makeReply(conf.replyNoCapability % capability, s)
|
s = self._makeReply(conf.replyNoCapability % capability, s)
|
||||||
self.error(s, **kwargs)
|
self.error(s, **kwargs)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user