From 3a0305b6ec1a44fbf3dd39b05108ab92838b7273 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Tue, 7 Jul 2020 05:38:08 -0400 Subject: [PATCH] fix tier issue --- src/cscli/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cscli/main.ts b/src/cscli/main.ts index b2452da..84655f2 100644 --- a/src/cscli/main.ts +++ b/src/cscli/main.ts @@ -68,7 +68,7 @@ export default class CSCLI { case 'ramlimit': const account = await this.client.db.Account.findOne({ username: parsed.Username }).lean().exec(); const tier = await this.client.db.Tier.findOne({ id: account.tier }).lean().exec(); - socket.write(`${tier.resourceLimits.ram}`); + socket.write(`${tier.resourceLimits.ram}\n`); socket.destroy(); break; default: