]> git.stg.codes - stg.git/blobdiff - projects/stargazer/tariffs_impl.cpp
Fix prepaid traff setting on fee charge
[stg.git] / projects / stargazer / tariffs_impl.cpp
index c244cb692ac8907bd73c4ff5f37403467282be1b..d6d6b36ae66a5ee97976194fd9cbb0894cee22f1 100644 (file)
@@ -32,8 +32,8 @@
 #include <algorithm>
 #include <vector>
 
 #include <algorithm>
 #include <vector>
 
-#include "stg/stg_locker.h"
-#include "stg/stg_logger.h"
+#include "stg/locker.h"
+#include "stg/logger.h"
 #include "stg/store.h"
 #include "stg/admin.h"
 #include "tariffs_impl.h"
 #include "stg/store.h"
 #include "stg/admin.h"
 #include "tariffs_impl.h"
@@ -206,7 +206,7 @@ ti = find(tariffs.begin(), tariffs.end(), TARIFF_IMPL(name));
 
 if (ti != tariffs.end())
     {
 
 if (ti != tariffs.end())
     {
-    strError = "Tariff \'" + name + "\' cannot be added. Tariff alredy exist.";
+    strError = "Tariff \'" + name + "\' cannot be added. Tariff already exist.";
     WriteServLog("%s %s", admin->GetLogStr().c_str(), strError.c_str());
     return -1;
     }
     WriteServLog("%s %s", admin->GetLogStr().c_str(), strError.c_str());
     return -1;
     }