From 75fee2b7532708beb465f563f2f3cc14b223b134 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 12 Aug 2018 20:50:18 +0900 Subject: [PATCH] Fix bug --- src/modules/server/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/server/index.ts b/src/modules/server/index.ts index cd56532..e4686ab 100644 --- a/src/modules/server/index.ts +++ b/src/modules/server/index.ts @@ -43,7 +43,7 @@ export default class ServerModule implements IModule { setInterval(() => { this.statsLogs.push(this.recentStat); - if (this.statsLogs.length > 60) this.statsLogs.unshift(); + if (this.statsLogs.length > 60) this.statsLogs.pop(); }, 1000); setInterval(() => {