diff --git a/server.js b/server.js index 02e1f4b..ce8eda6 100755 --- a/server.js +++ b/server.js @@ -60,7 +60,7 @@ server.listen(port, function() { */ function getRoom(socket) { - if (rooms[socket.room] == undefined) { + if (rooms[socket.room] === undefined) { createRoom(socket.room); } return rooms[socket.room]; diff --git a/static/index.html b/static/index.html index 48c5fa1..a51467f 100755 --- a/static/index.html +++ b/static/index.html @@ -22,13 +22,6 @@