mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-07 19:49:23 +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.printf('Being prevented with chancap')
|
||||||
debug.msg('Preventing %s from calling %s' % \
|
debug.msg('Preventing %s from calling %s' % \
|
||||||
(self.msg.nick, name), 'normal')
|
(self.msg.nick, name), 'normal')
|
||||||
self.error(self.msg, conf.replyNoCapability %^name)
|
self.error(self.msg, conf.replyNoCapability % name)
|
||||||
return
|
return
|
||||||
command = getattr(cb, name)
|
command = getattr(cb, name)
|
||||||
if cb.threaded:
|
if cb.threaded:
|
||||||
|
Loading…
Reference in New Issue
Block a user