Fix for groups with help.

This commit is contained in:
Jeremy Fincher 2004-09-16 13:39:23 +00:00
parent ea078abc57
commit cf3b59d516

View File

@ -251,7 +251,7 @@ class Config(callbacks.Privmsg):
irc.errorInvalid('configuration variable', e.args[0], Raise=True) irc.errorInvalid('configuration variable', e.args[0], Raise=True)
if hasattr(wrapper, 'help'): if hasattr(wrapper, 'help'):
s = wrapper.help s = wrapper.help
if not wrapper._private: if hasattr(wrapper, 'value') and not wrapper._private:
s += ' (Current value: %s)' % wrapper s += ' (Current value: %s)' % wrapper
irc.reply(s) irc.reply(s)
else: else: