]> git.stg.codes - stg.git/commitdiff
Merge remote-tracking branch 'origin/ticket52' into stg-2.409
authorMaxim Mamontov <faust.madf@gmail.com>
Wed, 14 Feb 2018 10:29:56 +0000 (12:29 +0200)
committerMaxim Mamontov <faust.madf@gmail.com>
Wed, 14 Feb 2018 10:29:56 +0000 (12:29 +0200)
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;
+tariff = tariffs->FindByName(tariffName);
 ips = StrToIPS("*");
 lastWriteStat = stgTime + random() % settings->GetStatWritePeriod();
 lastWriteDetailedStat = stgTime;