projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Draft game update. TODO: debug, finish view/Game.vue
[vchess.git]
/
server
/
sockets.js
diff --git
a/server/sockets.js
b/server/sockets.js
index
6e0451f
..
04422f4
100644
(file)
--- a/
server/sockets.js
+++ b/
server/sockets.js
@@
-30,7
+30,6
@@
module.exports = function(wss) {
let obj = JSON.parse(objtxt);
if (!!obj.target && !clients[obj.target])
return; //receiver not connected, nothing we can do
let obj = JSON.parse(objtxt);
if (!!obj.target && !clients[obj.target])
return; //receiver not connected, nothing we can do
- //console.log(obj.code);
switch (obj.code)
{
case "pollclients":
switch (obj.code)
{
case "pollclients":