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