]> git.stg.codes - stg.git/blobdiff - projects/stargazer/user_impl.cpp
Explicit prohibition of the PLUGIN_LOGGER assignment.
[stg.git] / projects / stargazer / user_impl.cpp
index d6c749b71c5c635f91c3631e8438e41cd06d72d6..d530108b95e7f225b42e32ce544662559aba6ac3 100644 (file)
@@ -222,6 +222,7 @@ void USER_IMPL::Init()
 {
 password = "*_EMPTY_PASSWORD_*";
 tariffName = NO_TARIFF_NAME;
 {
 password = "*_EMPTY_PASSWORD_*";
 tariffName = NO_TARIFF_NAME;
+tariff = tariffs->FindByName(tariffName);
 ips = StrToIPS("*");
 lastWriteStat = stgTime + random() % settings->GetStatWritePeriod();
 lastWriteDetailedStat = stgTime;
 ips = StrToIPS("*");
 lastWriteStat = stgTime + random() % settings->GetStatWritePeriod();
 lastWriteDetailedStat = stgTime;