Added error reporting for unmet capability checks.

This commit is contained in:
Jeremy Fincher 2003-09-19 05:57:46 +00:00
parent 287c9028a5
commit d6854355be
1 changed files with 1 additions and 0 deletions

View File

@ -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: