- if (!!newmoves[page][sid])
- {
- socket.send(JSON.stringify({code:"newmove",move:newmoves[page][sid]}));
- delete newmoves[page][sid];
- }
- if (!!newresign[page][sid])
- {
- socket.send(JSON.stringify({code:"resign"}));
- delete newresign[page][sid];
- }