mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
plugins/Config: Finally fix Config.help so the error message actually reports the name instead of %s.
This commit is contained in:
parent
f470c94e59
commit
8cf975d844
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user