KrisVos130 %!s(int64=9) %!d(string=hai) anos
pai
achega
5331972125
Modificáronse 1 ficheiros con 0 adicións e 7 borrados
  1. 0 7
      app/server/server.js

+ 0 - 7
app/server/server.js

@@ -511,13 +511,6 @@ function PrivateStation(name) {
     };
     this.name = name;
 
-    var private = PrivateRooms.findOne({name: name}).private;
-
-    if (typeof private !== "boolean") {
-        PrivateRooms.update({name: name}, {$set: {"private": false}});
-        private = false;
-    }
-
     this.private = private;
 
     this.unlock = function () {