diff --git a/src/privmsgs.py b/src/privmsgs.py index 024c700c0..298fcb359 100644 --- a/src/privmsgs.py +++ b/src/privmsgs.py @@ -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): """