]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/parser_users.cpp
Remove TravisCI file as well.
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / parser_users.cpp
index 8f15c491a0b3e553685bc0a80cb4bb11aee9366c..3a02fa18fd0c5ba33e58e69b5510b403502097f2 100644 (file)
@@ -16,7 +16,7 @@
 
 /*
  *    Author : Boris Mikhailenko <stg34@stargazer.dp.ua>
- *    Author : Maxim Mamontov <faust@stargazer.dp.ua>
+ *    Author : Maksym Mamontov <stg@madf.info>
  */
 
 #include "parser_users.h"
@@ -598,7 +598,7 @@ int CHG_USER::ApplyChanges()
         if (newTariff)
         {
             const TARIFF * tariff = u->GetTariff();
-            std::string message = tariff->TariffChangeIsAllowed(*newTariff);
+            std::string message = tariff->TariffChangeIsAllowed(*newTariff, stgTime);
             if (message.empty())
             {
                 if (!u->GetProperty().tariffName.Set(m_ucr.tariffName.const_data(), &m_currAdmin, m_login, &m_store))