From 274d3452359caf116126535d692605db5472d333 Mon Sep 17 00:00:00 2001 From: Hri7566 Date: Tue, 13 Apr 2021 17:48:44 -0400 Subject: [PATCH] asdasdasd --- src/Message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Message.js b/src/Message.js index 95f82b8..5c360e1 100644 --- a/src/Message.js +++ b/src/Message.js @@ -192,7 +192,7 @@ module.exports = (cl) => { let data = Database.getUserData(cl, cl.server); let user = new User(cl, data); 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; dbentry.name = msg.set.name; user.updatedb();