X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/cd22a6554a8c6d917306304aeaf5d2b7a9d99ae4..65e7a8547ba44041cf6d0045b133e5263308cbd9:/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)