Changed the order of Portal/Server shutdown to make sure the Portal stops correctly in light of the changes to the shutdown protocol from previous revision.

This commit is contained in:
Griatch 2015-05-14 21:20:31 +02:00
parent 33154d4d60
commit b7872f2d6f
2 changed files with 2 additions and 2 deletions

View file

@ -118,8 +118,8 @@ class CmdShutdown(MuxCommand):
announcement += "%s\n" % self.args
logger.log_infomsg('Server shutdown by %s.' % self.caller.name)
SESSIONS.announce_all(announcement)
SESSIONS.portal_shutdown()
SESSIONS.server.shutdown(mode='shutdown')
SESSIONS.portal_shutdown()
class CmdPy(MuxCommand):