X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/489de0deb4c1182cfbce41809b17892fcf9430fd..7f830439cde870faa88929eade481eb38c0ef382:/projects/stargazer/plugins/configuration/sgconfig/parser_users.cpp?ds=sidebyside diff --git a/projects/stargazer/plugins/configuration/sgconfig/parser_users.cpp b/projects/stargazer/plugins/configuration/sgconfig/parser_users.cpp index ef3a470e..8f15c491 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/parser_users.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/parser_users.cpp @@ -599,7 +599,7 @@ int CHG_USER::ApplyChanges() { const TARIFF * tariff = u->GetTariff(); std::string message = tariff->TariffChangeIsAllowed(*newTariff); - if (message == "") + if (message.empty()) { if (!u->GetProperty().tariffName.Set(m_ucr.tariffName.const_data(), &m_currAdmin, m_login, &m_store)) return -1;