From a5e7a1980c53fb655fa930ef7f929b1938b62639 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 14 Apr 2003 05:56:28 +0000 Subject: [PATCH] Added superreload command. --- src/privmsgs.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/privmsgs.py b/src/privmsgs.py index 8383765c7..44b7967d5 100644 --- a/src/privmsgs.py +++ b/src/privmsgs.py @@ -301,6 +301,11 @@ class OwnerCommands(CapabilityCheckingPrivmsg): irc.addCallback(callback) irc.reply(msg, conf.replySuccess) + def superreload(self, irc, msg, args): + name = getArgs(args) + world.superReload(__import__(name)) + irc.reply(msg, conf.replySuccess) + def reload(self, irc, msg, args): """