mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-12 21:22:36 +01:00
Config: mention 'reset channel' and 'reset network' in setdefault's help.
Closes GH-680.
This commit is contained in:
parent
27f4386279
commit
6cc3d3080c
@ -466,6 +466,8 @@ class Config(callbacks.Plugin):
|
|||||||
"""<name>
|
"""<name>
|
||||||
|
|
||||||
Resets the configuration variable <name> to its default value.
|
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, ''))
|
v = str(group.__class__(group._default, ''))
|
||||||
self._setValue(irc, msg, group, v)
|
self._setValue(irc, msg, group, v)
|
||||||
|
Loading…
Reference in New Issue
Block a user