mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
Let's always run upkeep before we exit normally.
This commit is contained in:
parent
667b5ff0b7
commit
54876e45ab
@ -77,6 +77,7 @@ def main():
|
||||
drivers.run()
|
||||
except KeyboardInterrupt:
|
||||
log.info('Exiting due to Ctrl-C.')
|
||||
world.upkeep()
|
||||
break
|
||||
except SystemExit, e:
|
||||
s = str(e)
|
||||
|
@ -464,6 +464,7 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
|
||||
|
||||
Exits the bot.
|
||||
"""
|
||||
world.upkeep()
|
||||
world.ircs[:] = []
|
||||
|
||||
def flush(self, irc, msg, args):
|
||||
|
Loading…
Reference in New Issue
Block a user