diff --git a/cmd/remote.go b/cmd/remote.go index 30000afe..3ca0dfbd 100644 --- a/cmd/remote.go +++ b/cmd/remote.go @@ -226,6 +226,12 @@ func checkServer() { failPrint("Remote server returned an error for its status! Your ID is probably wrong.") sendNotification("Status check failed, TeamID incorrect!") mc.Connection = false + } else if mc.Conn.ServerStatus == "DISABLED" { + mc.Conn.OverallColor = RED + mc.Conn.OverallStatus = "Remote scoring server is no longer accepting scores." + failPrint("Remote scoring server is no longer accepting scores.") + sendNotification("Remote scoring server is no longer accepting scores.") + mc.Connection = false } else { timeStart = time.Now() mc.Conn.OverallColor = GREEN diff --git a/cmd/utility.go b/cmd/utility.go index 804c0296..d138a3eb 100644 --- a/cmd/utility.go +++ b/cmd/utility.go @@ -13,7 +13,7 @@ import ( ) const ( - AeacusVersion = "1.8.0" + AeacusVersion = "1.8.3" ScoringConf = "scoring.conf" ScoringData = "scoring.dat" LinuxDir = "/opt/aeacus/"