From c4bd9827834af29d1f66581ee078096574531060 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Thu, 9 Jun 2022 15:35:19 -0500 Subject: [PATCH] Syntax fix --- scripts/server/class.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/scripts/server/class.js b/scripts/server/class.js index 6141348f..1b4e4ac6 100644 --- a/scripts/server/class.js +++ b/scripts/server/class.js @@ -154,8 +154,12 @@ class ServerConfigData { */ class ClientData { constructor(client, accountData, subAccounts) { + /** @member {AccountData} accountData */ this.accountData = accountData; + + /** @member {Array.} subAccounts */ this.subAccounts = subAccounts; // Characters + this.client = client; this.currentSubAccount = -1; this.loggedIn = false; @@ -276,15 +280,14 @@ class AccountData { }; this.staffTitle = ""; this.ircAccount = ""; - this.discordAccount = 0, - this.settings = 0, - this.emailAddress = ""; - this.ipAddress = 0, + this.discordAccount = 0; + this.settings = 0; + this.emailAddress = ""; + this.ipAddress = 0; - this.notes = []; + this.notes = []; this.messages = []; this.contacts = []; - this.subAccounts = []; this.emailVerificationCode = ""; this.twoFactorAuthVerificationCode = "";