From 4c9bc9ebf2c8552707d90085790052acaba0276f Mon Sep 17 00:00:00 2001 From: Fabio1988 Date: Wed, 13 Sep 2023 18:05:45 +0200 Subject: [PATCH] move log --- routes/raw.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/routes/raw.go b/routes/raw.go index 9de7cca..b326482 100644 --- a/routes/raw.go +++ b/routes/raw.go @@ -103,9 +103,7 @@ func Raw(c *gin.Context) { if ws.CheckLimitExceeded() { log.Warnf("[RAW] [%s] Account would exceed soft limits - DISABLED ACCOUNT: [%s]", res.Uuid, res.Username) accountManager.MarkDisabled(res.Username) - } - counts := ws.RequestCounts() - if len(counts) > 0 { + counts := ws.RequestCounts() log.Infof("[RAW] [%s] [%s] Account limits: %v", res.Uuid, res.Username, counts) } }()