diff options
Diffstat (limited to 'include/cancelgame.php')
-rw-r--r-- | include/cancelgame.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cancelgame.php b/include/cancelgame.php index 2240203..71bb58b 100644 --- a/include/cancelgame.php +++ b/include/cancelgame.php @@ -48,8 +48,8 @@ if(time()-strtotime($r[0]) > 60*60*24*30) /* = 1 month */ mymail($user,$subject,$message); } - /* delete everything from the dB */ - DB_cancel_game($me); + /* set gamestatus to canceled */ + cancel_game('timedout',$gameid); echo "<p style=\"background-color:red\";>Game ".DB_format_gameid($gameid). " has been canceled.<br /><br /></p>"; |