mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Handle the empty value case.
This commit is contained in:
parent
e1cf38f171
commit
e7daa3c144
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user