Fix for groups with help.

This commit is contained in:
Jeremy Fincher 2004-09-16 13:39:23 +00:00
parent ea078abc57
commit cf3b59d516
1 changed files with 1 additions and 1 deletions

View File

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