Added error reporting for unmet capability checks.

This commit is contained in:
Jeremy Fincher 2003-09-19 06:24:38 +00:00
parent d6854355be
commit f13aa41e1b

View File

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