diff --git a/src/Config.py b/src/Config.py index d24ca6836..869b81d05 100644 --- a/src/Config.py +++ b/src/Config.py @@ -241,9 +241,15 @@ class Config(callbacks.Privmsg): wrapper = getWrapper(name) if hasattr(wrapper, 'help'): s = wrapper.help - if hasattr(wrapper, 'value') and not wrapper._private: - s += ' (Current value: %s)' % wrapper - irc.reply(s) + if s: + if hasattr(wrapper, 'value') and not wrapper._private: + s += ' (Current value: %s)' % wrapper + irc.reply(s) + else: + irc.reply('That configuration group exists, but seems to have ' + 'no help. Try "config list %s" to see if it has ' + 'any children values.') + else: irc.error('%s has no help.' % name)