From 49f05c1fc66df755ebce9cc968bab0df50f0015c Mon Sep 17 00:00:00 2001 From: uubulb Date: Sun, 3 Nov 2024 21:12:28 +0800 Subject: [PATCH] fix ReSortServer --- service/singleton/server.go | 1 - 1 file changed, 1 deletion(-) diff --git a/service/singleton/server.go b/service/singleton/server.go index 844b20b..89fe470 100644 --- a/service/singleton/server.go +++ b/service/singleton/server.go @@ -46,7 +46,6 @@ func ReSortServer() { defer SortedServerLock.Unlock() SortedServerList = make([]*model.Server, 0, len(ServerList)) - var SortedServerListForGuest []*model.Server for _, s := range ServerList { SortedServerList = append(SortedServerList, s) if !s.HideForGuest {