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});