From: Maxim Mamontov Date: Thu, 14 Apr 2011 11:40:22 +0000 (+0300) Subject: Fix TRAFFCAOUNTER_IMPL construction X-Git-Tag: 2.407~8 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/612fd062ef89198e9de7b3b9efdec127aad3a74c?hp=cb062b7ca4e03597c0b25c5a2b6cbc554900fff6 Fix TRAFFCAOUNTER_IMPL construction --- diff --git a/projects/stargazer/main.cpp b/projects/stargazer/main.cpp index fc5172b0..5f4c7f24 100644 --- a/projects/stargazer/main.cpp +++ b/projects/stargazer/main.cpp @@ -541,7 +541,7 @@ WriteServLog("Storage plugin: %s. Loading successfull.", dataStore->GetVersion() tariffs = new TARIFFS_IMPL(dataStore); admins = new ADMINS_IMPL(dataStore); users = new USERS_IMPL(settings, dataStore, tariffs, admins->GetSysAdmin()); -traffCnt = new TRAFFCOUNTER_IMPL(users, tariffs, settings->GetRulesFileName()); +traffCnt = new TRAFFCOUNTER_IMPL(users, settings->GetRulesFileName()); traffCnt->SetMonitorDir(settings->GetMonitorDir()); modSettings = settings->GetModulesSettings();