From cf3b59d5165fb9412054261323cdb0f53fd90251 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 16 Sep 2004 13:39:23 +0000 Subject: [PATCH] Fix for groups with help. --- src/Config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Config.py b/src/Config.py index 60fbfbf03..4e16ae51b 100644 --- a/src/Config.py +++ b/src/Config.py @@ -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: