Config: Rename @reset to @setdefault (reset is a method implemented by the core).

This commit is contained in:
Valentin Lorentz 2012-11-09 22:32:01 +00:00
parent d9f2235aed
commit 216df3d472

View File

@ -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.