forked from Hri7566/mpp-server-dev2
asdasdasd
This commit is contained in:
parent
4393421fab
commit
9f1bb7871e
|
@ -192,7 +192,7 @@ module.exports = (cl) => {
|
||||||
let data = Database.getUserData(cl, cl.server);
|
let data = Database.getUserData(cl, cl.server);
|
||||||
let user = new User(cl, data);
|
let user = new User(cl, data);
|
||||||
Database.getUserData(cl, cl.server).then((usr) => {
|
Database.getUserData(cl, cl.server).then((usr) => {
|
||||||
let dbentry = user.userdb.get(cl.user._id);
|
let dbentry = Database.userdb.get(cl.user._id);
|
||||||
if (!dbentry) return;
|
if (!dbentry) return;
|
||||||
dbentry.name = msg.set.name;
|
dbentry.name = msg.set.name;
|
||||||
user.updatedb();
|
user.updatedb();
|
||||||
|
|
Loading…
Reference in New Issue