plugins/Config: Reply with success on setdefault

Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
This commit is contained in:
Johannes Löthberg 2019-10-06 17:21:12 +02:00 committed by Valentin Lorentz
parent beb1000c7e
commit ba6878375b

View File

@ -422,6 +422,7 @@ class Config(callbacks.Plugin):
""" """
v = str(group.__class__(group._default, '')) v = str(group.__class__(group._default, ''))
self._setValue(irc, msg, group, v) self._setValue(irc, msg, group, v)
irc.replySuccess()
setdefault = wrap(setdefault, ['settableConfigVar']) setdefault = wrap(setdefault, ['settableConfigVar'])
Class = Config Class = Config