mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-03 01:39:23 +01:00
Added error reporting for unmet capability checks.
This commit is contained in:
parent
287c9028a5
commit
d6854355be
@ -342,6 +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)
|
||||
return
|
||||
command = getattr(cb, name)
|
||||
if cb.threaded:
|
||||
|
Loading…
Reference in New Issue
Block a user