From ac8bb2ed084f33e548eca96ef2cbc5d33c2699b0 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 21 Jan 2004 19:13:43 +0000 Subject: [PATCH] Removed the reset command. We can nest default, if we want. --- src/Config.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/Config.py b/src/Config.py index eca28a131..bb24244bc 100644 --- a/src/Config.py +++ b/src/Config.py @@ -135,20 +135,6 @@ class Config(callbacks.Privmsg): wrapper = getWrapper(name) irc.reply(wrapper.help) - def reset(self, irc, msg, args): - """ - - Resets the configuration variable to its original value. - """ - name = privmsgs.getArgs(args) - capability = getCapability(name) - if ircdb.checkCapability(msg.prefix, capability): - wrapper = getWrapper(name) - wrapper.reset() - irc.replySuccess() - else: - irc.errorNoCapability(capability) - def default(self, irc, msg, args): """