From: Maxim Mamontov Date: Wed, 14 Feb 2018 10:29:56 +0000 (+0200) Subject: Merge remote-tracking branch 'origin/ticket52' into stg-2.409 X-Git-Tag: 2.409~28 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/df4e8a09fef4d521167151e90080da07f166bb0b?hp=a84a49ca1eb7c31f79f6328e9dc453399ee120f9 Merge remote-tracking branch 'origin/ticket52' into stg-2.409 --- 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;