asdasdasd

This commit is contained in:
Hri7566 2021-04-13 17:48:44 -04:00
parent 4393421fab
commit 9f1bb7871e
1 changed files with 1 additions and 1 deletions

View File

@ -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();