Added upkeep command.

This commit is contained in:
Jeremy Fincher 2003-08-15 02:56:41 +00:00
parent 5cacbfb18a
commit 9db6ace58b

View File

@ -216,6 +216,14 @@ class OwnerCommands(CapabilityCheckingPrivmsg):
"""
world.flush()
irc.reply(msg, conf.replySuccess)
def upkeep(self, irc, msg, args):
"""takes no arguments
Runs the standard upkeep stuff (flushes and gc.collects()).
"""
world.upkeep()
irc.reply(msg, conf.replySuccess)
def set(self, irc, msg, args):
"""<name> <value>