mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Added bug #874038.
This commit is contained in:
parent
75d529872a
commit
13e0447ea5
@ -303,6 +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)
|
||||
s = self._makeReply(conf.replyNoCapability % capability, s)
|
||||
self.error(s, **kwargs)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user