diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-11-07 01:58:39 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-11-07 01:58:39 +0100 |
commit | dbd8f0fa5665a94737a5dcb5f83cbd418127f826 (patch) | |
tree | 3bd2bda6943a4fc1ad1e2446dd870b42a628a972 /server.js | |
parent | 46c3fddba7038c9472a2c7b1d04d8118c275ab65 (diff) | |
download | server-dbd8f0fa5665a94737a5dcb5f83cbd418127f826.tar.gz |
fix crash when timing out tournament games
Diffstat (limited to 'server.js')
-rw-r--r-- | server.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2651,7 +2651,7 @@ setTimeout(time_control_ticker, 13 * 1000) const designs = require("./designs.js") -const TM_INSERT_BANNED = SQL("insert into tm_banned (user_id, time) values (?, datetime())") +const TM_INSERT_BANNED = SQL("insert or ignore into tm_banned (user_id, time) values (?, datetime())") const TM_DELETE_QUEUE_ALL = SQL("delete from tm_queue where user_id=?") const TM_MAY_JOIN_ANY_SEED = SQL(` |