mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Config: Rename @reset to @setdefault (reset is a method implemented by the core).
This commit is contained in:
parent
d9f2235aed
commit
216df3d472
@ -285,7 +285,7 @@ class Config(callbacks.Plugin):
|
|||||||
export = wrap(export, [('checkCapability', 'owner'), 'filename'])
|
export = wrap(export, [('checkCapability', 'owner'), 'filename'])
|
||||||
|
|
||||||
@internationalizeDocstring
|
@internationalizeDocstring
|
||||||
def reset(self, irc, msg, args, group):
|
def setdefault(self, irc, msg, args, group):
|
||||||
"""<name>
|
"""<name>
|
||||||
|
|
||||||
Resets the configuration variable <name> to its default value.
|
Resets the configuration variable <name> to its default value.
|
||||||
|
Loading…
Reference in New Issue
Block a user