From 70a58f6fbff84cb13a5f536b03a136c19d18eb60 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 14 Nov 2021 12:16:05 +0100 Subject: Don't leak mail addresses to clients. --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server.js') diff --git a/server.js b/server.js index 343e46d..06cb7fe 100644 --- a/server.js +++ b/server.js @@ -1627,7 +1627,7 @@ io.on('connection', (socket) => { if (title_id !== socket.title_id) return socket.emit('error', "Invalid game ID."); - let players = SQL_SELECT_PLAYERS.all(socket.game_id); + let players = SQL_SELECT_PLAYERS_JOIN.all(socket.game_id); if (socket.role !== "Observer") { let me; -- cgit v1.2.3