]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/rpcconfig/users_methods.cpp
Merge branch 'stg-2.409' into stg-2.409-radius
[stg.git] / projects / stargazer / plugins / configuration / rpcconfig / users_methods.cpp
index 5a738d16d2b81220503c18177d63547b191a874e..56167bc2cdaee25e9ec7ee6dd489c43980f0b34c 100644 (file)
@@ -385,7 +385,7 @@ if (tariffs->FindByName(tariff))
         if (newTariff)
             {
             const TARIFF * currentTariff = u->GetTariff();
         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,
             if (message.empty())
                 {
                 if (u->GetProperty().tariffName.Set(tariff,