From 4443f6c1a341758488dbbdab9755ce03c977d75c Mon Sep 17 00:00:00 2001 From: sgay Date: Wed, 14 Sep 2022 15:21:59 +0000 Subject: [PATCH] code are lowercase --- traque.js | 1 + 1 file changed, 1 insertion(+) diff --git a/traque.js b/traque.js index 48c95e7..0283235 100644 --- a/traque.js +++ b/traque.js @@ -111,6 +111,7 @@ io.sockets.on('connection', function(socket){ equipes[i].emit('changeColor', {"id": socket.id, "color": d.color}); }); socket.on('message', function(d){ + d.content = d.content.toLowerCase(); if(d.content == PWD_TRACKED){ d.color = 0; socket.emit('popup', {"content": MSG_TRACKED});