From 143aec2c09f1eafee27b02ad3f138149eb1c20e2 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Sat, 30 Jul 2011 15:11:26 +0300 Subject: [PATCH] Reset delayed tariff change when setting new tariff immediately --- .../stargazer/plugins/configuration/rpcconfig/users_methods.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/stargazer/plugins/configuration/rpcconfig/users_methods.cpp b/projects/stargazer/plugins/configuration/rpcconfig/users_methods.cpp index ff783471..fcd81a5e 100644 --- a/projects/stargazer/plugins/configuration/rpcconfig/users_methods.cpp +++ b/projects/stargazer/plugins/configuration/rpcconfig/users_methods.cpp @@ -394,6 +394,7 @@ if (tariffs->FindByName(tariff)) login, store)) { + u->ResetNextTariff(); u->WriteConf(); *retvalPtr = xmlrpc_c::value_boolean(true); return; -- 2.44.2