mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Added error reporting for unmet capability checks.
This commit is contained in:
parent
d6854355be
commit
f13aa41e1b
@ -342,7 +342,7 @@ class IrcObjectProxy:
|
||||
#debug.printf('Being prevented with chancap')
|
||||
debug.msg('Preventing %s from calling %s' % \
|
||||
(self.msg.nick, name), 'normal')
|
||||
self.error(self.msg, conf.replyNoCapability %^name)
|
||||
self.error(self.msg, conf.replyNoCapability % name)
|
||||
return
|
||||
command = getattr(cb, name)
|
||||
if cb.threaded:
|
||||
|
Loading…
Reference in New Issue
Block a user