Handle the empty value case.

This commit is contained in:
Jeremy Fincher 2004-08-17 08:32:00 +00:00
parent e1cf38f171
commit e7daa3c144

View File

@ -193,7 +193,7 @@ class Config(callbacks.Privmsg):
wrapper = getWrapper(name)
if hasattr(wrapper, 'value'):
if not wrapper._private:
irc.reply(str(wrapper))
irc.reply(str(wrapper) or ' ')
else:
capability = getCapability(name)
if ircdb.checkCapability(msg.prefix, capability):