From eabea72f096335e2d5b438c863ecda476b5dfde1 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 3 May 2020 19:00:36 -0400 Subject: [PATCH] default to -50 --- src/class/Util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/class/Util.ts b/src/class/Util.ts index 11e61d3..3328565 100644 --- a/src/class/Util.ts +++ b/src/class/Util.ts @@ -153,7 +153,7 @@ export default class Util { const tier = await this.client.db.Tier.findOne({ id: 1 }); const account = new this.client.db.Account({ - username, userID, emailAddress, createdBy: moderatorID, ramLimitNotification: tier.resourceLimits.ram - 20, createdAt: new Date(), locked: false, tier: 1, supportKey: code, ssInit: false, homepath: `/home/${username}`, + username, userID, emailAddress, createdBy: moderatorID, ramLimitNotification: tier.resourceLimits.ram - 50, createdAt: new Date(), locked: false, tier: 1, supportKey: code, ssInit: false, homepath: `/home/${username}`, }); return account.save(); }