Prettify the display of current value in Config.help

This commit is contained in:
James Vega 2004-08-26 14:25:04 +00:00
parent ae8af84e6f
commit b59eba8c58

View File

@ -244,7 +244,7 @@ class Config(callbacks.Privmsg):
if hasattr(wrapper, 'help'):
s = wrapper.help
if not wrapper._private:
s += ' (Current value: %s)' % wrapper()
s += ' (Current value: %s)' % wrapper
irc.reply(s)
else:
irc.error('%s has no help.' % name)