Config: mention 'reset channel' and 'reset network' in setdefault's help.

Closes GH-680.
This commit is contained in:
Valentin Lorentz 2020-05-16 10:20:43 +02:00
parent 27f4386279
commit 6cc3d3080c

View File

@ -466,6 +466,8 @@ class Config(callbacks.Plugin):
"""<name>
Resets the configuration variable <name> to its default value.
Use commands 'reset channel' and 'reset network' instead to make
a channel- or network- specific value inherit from the global one.
"""
v = str(group.__class__(group._default, ''))
self._setValue(irc, msg, group, v)