Update operating mode upon network disagreement.

This commit is contained in:
Mark Travis
2019-09-06 13:03:30 -07:00
committed by Nik Bougalis
parent a9a4e2c8fb
commit e5b61c9ac9
11 changed files with 133 additions and 88 deletions

View File

@@ -2046,7 +2046,7 @@ bool ApplicationImp::serverOkay (std::string& reason)
return false;
}
if (getOPs ().getOperatingMode () < NetworkOPs::omSYNCING)
if (getOPs ().getOperatingMode () < OperatingMode::SYNCING)
{
reason = "Not synchronized with network";
return false;