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 {