Added superreload command.

This commit is contained in:
Jeremy Fincher 2003-04-14 05:56:28 +00:00
parent f94c1a2260
commit a5e7a1980c

View File

@ -301,6 +301,11 @@ class OwnerCommands(CapabilityCheckingPrivmsg):
irc.addCallback(callback) irc.addCallback(callback)
irc.reply(msg, conf.replySuccess) 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): def reload(self, irc, msg, args):
"""<callback name> """<callback name>