Prevents showing servers with 1 player, when the server is infact empty
This commit is contained in:
parent
6d642f6139
commit
fbb1ce1672
3
main.go
3
main.go
@ -163,6 +163,9 @@ func (a *App) updateOldServers(t time.Time) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if len(update) > 0 {
|
if len(update) > 0 {
|
||||||
|
if err := a.store.SaveServers(update); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
if err := a.updateHistory(t, update); err != nil {
|
if err := a.updateHistory(t, update); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user