code are lowercase
This commit is contained in:
parent
7a397accb9
commit
4443f6c1a3
1 changed files with 1 additions and 0 deletions
|
@ -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});
|
||||
|
|
Loading…
Reference in a new issue