From 12fbcb1460f941a7e0bf0583f4e5bc6345886989 Mon Sep 17 00:00:00 2001 From: wyx2685 Date: Sat, 31 Aug 2024 17:19:13 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DMAP=E6=9C=AA=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- limiter/limiter.go | 1 + 1 file changed, 1 insertion(+) diff --git a/limiter/limiter.go b/limiter/limiter.go index cd8b7f1..6f59822 100644 --- a/limiter/limiter.go +++ b/limiter/limiter.go @@ -62,6 +62,7 @@ func AddLimiter(tag string, l *conf.LimitConfig, users []panel.UserInfo, aliveLi ConnLimiter: NewConnLimiter(l.ConnLimit, l.IPLimit, l.EnableRealtime), SpeedLimiter: new(sync.Map), AliveList: aliveList, + OldUserOnline: make(map[string]int), } uuidmap := make(map[string]int) for i := range users {