From 1a42b634841392c7c0516bcb76fcc33f6d700808 Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Mon, 12 Feb 2018 13:07:33 +0200 Subject: [PATCH] Ticket 52. Definition of the tariff pointer added to the USER_IMPL::Init() function. --- projects/stargazer/user_impl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/stargazer/user_impl.cpp b/projects/stargazer/user_impl.cpp index d6c749b7..d530108b 100644 --- a/projects/stargazer/user_impl.cpp +++ b/projects/stargazer/user_impl.cpp @@ -222,6 +222,7 @@ void USER_IMPL::Init() { password = "*_EMPTY_PASSWORD_*"; tariffName = NO_TARIFF_NAME; +tariff = tariffs->FindByName(tariffName); ips = StrToIPS("*"); lastWriteStat = stgTime + random() % settings->GetStatWritePeriod(); lastWriteDetailedStat = stgTime; -- 2.44.2