plugins/Config: Finally fix Config.help so the error message actually reports the name instead of %s.

This commit is contained in:
James Vega 2005-09-22 18:06:56 +00:00
parent f470c94e59
commit 8cf975d844

View File

@ -224,9 +224,9 @@ class Config(callbacks.Plugin):
else: else:
irc.reply('That configuration group exists, but seems to have ' irc.reply('That configuration group exists, but seems to have '
'no help. Try "config list %s" to see if it has ' 'no help. Try "config list %s" to see if it has '
'any children values.') 'any children values.' % group._name)
else: else:
irc.error('%s has no help.' % name) irc.error('%s has no help.' % group._name)
help = wrap(help, ['configVar']) help = wrap(help, ['configVar'])
def default(self, irc, msg, args, group): def default(self, irc, msg, args, group):