X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/284bc358ea863983d91d81ec2b69d13461a129b9..ee882f766d3173ed8ffb6e52b06749c10832f1bf:/projects/stargazer/plugins/configuration/rpcconfig/users_methods.cpp?ds=inline

diff --git a/projects/stargazer/plugins/configuration/rpcconfig/users_methods.cpp b/projects/stargazer/plugins/configuration/rpcconfig/users_methods.cpp
index 5a738d16..56167bc2 100644
--- a/projects/stargazer/plugins/configuration/rpcconfig/users_methods.cpp
+++ b/projects/stargazer/plugins/configuration/rpcconfig/users_methods.cpp
@@ -385,7 +385,7 @@ if (tariffs->FindByName(tariff))
         if (newTariff)
             {
             const TARIFF * currentTariff = u->GetTariff();
-            std::string message = currentTariff->TariffChangeIsAllowed(*newTariff);
+            std::string message = currentTariff->TariffChangeIsAllowed(*newTariff, stgTime);
             if (message.empty())
                 {
                 if (u->GetProperty().tariffName.Set(tariff,