]> git.pond.sub.org Git - empserver/commit
Prevent command from executing after game is down
authorRon Koenderink <rkoenderink@yahoo.ca>
Thu, 5 Feb 2009 02:53:26 +0000 (20:53 -0600)
committerRon Koenderink <rkoenderink@yahoo.ca>
Thu, 5 Feb 2009 02:53:26 +0000 (20:53 -0600)
commitc7e2442d3a8f63bdbcd9b3e1a72aa8db5ea470f9
tree5911cfd9659fc5a998270cda6d43e9c7da5baa63
parent48cec49fbfb44a7b4416d6672df3bbd05ab5c7c5
Prevent command from executing after game is down

Move the gamedown() check from status to may_play_now() so it is
checked upon login, before a command is executed and after command
completion.  This fixes the situation where a player to could execute
one more command after the game was down.

Report to the deities that the game is down.

Remove to duplicate gamedown message.
include/prototypes.h
src/lib/player/empdis.c
src/lib/player/player.c