Fix scope error in ClientManager.loadUser

This commit is contained in:
YuviPanda 2014-09-13 18:19:07 +01:00
parent f015e4bfd4
commit 9b2095fcbc

View file

@ -44,11 +44,11 @@ ClientManager.prototype.loadUser = function(name) {
"utf-8"
);
json = JSON.parse(json);
return json;
} catch(e) {
console.log(e);
return;
}
return json;
};
ClientManager.prototype.getUsers = function() {