From fbb1ce1672ec410feefbbd4706934e5044c16fdb Mon Sep 17 00:00:00 2001 From: "A. Svensson" Date: Fri, 6 Oct 2017 21:00:26 +0200 Subject: [PATCH] Prevents showing servers with 1 player, when the server is infact empty --- main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.go b/main.go index 4c8d90c..467024c 100644 --- a/main.go +++ b/main.go @@ -163,6 +163,9 @@ func (a *App) updateOldServers(t time.Time) error { } if len(update) > 0 { + if err := a.store.SaveServers(update); err != nil { + return err + } if err := a.updateHistory(t, update); err != nil { return err }