X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/e3c5fe3cce7be5d2b48bfcf11a1de20ca12fc7e0..489de0deb4c1182cfbce41809b17892fcf9430fd:/projects/stargazer/user_impl.cpp diff --git a/projects/stargazer/user_impl.cpp b/projects/stargazer/user_impl.cpp index 72a3378f..7701bde3 100644 --- a/projects/stargazer/user_impl.cpp +++ b/projects/stargazer/user_impl.cpp @@ -1184,13 +1184,13 @@ if (nextTariff.ConstData() != "") } else { - if (tariff->TariffChangelsAllowed(*nt) == "") + if (tariff->TariffChangeIsAllowed(*nt) == "") { property.tariffName.Set(nextTariff, sysAdmin, login, store); } else { - std::string message = tariff->TariffChangelsAllowed(*nt); + std::string message = tariff->TariffChangeIsAllowed(*nt); WriteServLog("Tariff change is prohibited for user %s. %s", login.c_str(), message.c_str());