mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
commit
94e7e47375
@ -46,7 +46,6 @@ func ReSortServer() {
|
|||||||
defer SortedServerLock.Unlock()
|
defer SortedServerLock.Unlock()
|
||||||
|
|
||||||
SortedServerList = make([]*model.Server, 0, len(ServerList))
|
SortedServerList = make([]*model.Server, 0, len(ServerList))
|
||||||
var SortedServerListForGuest []*model.Server
|
|
||||||
for _, s := range ServerList {
|
for _, s := range ServerList {
|
||||||
SortedServerList = append(SortedServerList, s)
|
SortedServerList = append(SortedServerList, s)
|
||||||
if !s.HideForGuest {
|
if !s.HideForGuest {
|
||||||
|
Loading…
Reference in New Issue
Block a user