Support in-game server-control commands

This commit is contained in:
Griatch 2018-01-14 23:11:59 +01:00
parent 5133034b4b
commit 3bec3a3512
5 changed files with 20 additions and 18 deletions

View file

@ -119,7 +119,6 @@ class CmdShutdown(COMMAND_DEFAULT_CLASS):
announcement += "%s\n" % self.args
logger.log_info('Server shutdown by %s.' % self.caller.name)
SESSIONS.announce_all(announcement)
SESSIONS.server.shutdown(mode='shutdown')
SESSIONS.portal_shutdown()