X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/cd22a6554a8c6d917306304aeaf5d2b7a9d99ae4..84ca510e70fe5697bbec1b8b25f7403dd010f1e6:/projects/stargazer/users_impl.cpp diff --git a/projects/stargazer/users_impl.cpp b/projects/stargazer/users_impl.cpp index 70a079bf..60a36335 100644 --- a/projects/stargazer/users_impl.cpp +++ b/projects/stargazer/users_impl.cpp @@ -362,14 +362,15 @@ for (unsigned int i = 0; i < usersList.size(); i++) if (ui->ReadStat() < 0) return -1; - } else - { - if (ui->ReadConf() < 0) - errors++; - - if (ui->ReadStat() < 0) - errors++; - } + } + else + { + if (ui->ReadConf() < 0) + errors++; + + if (ui->ReadStat() < 0) + errors++; + } } if (errors > 0)