mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 21:29:24 +01:00
Fix for groups with help.
This commit is contained in:
parent
ea078abc57
commit
cf3b59d516
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user