]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/rpcconfig/users_methods.cpp
Cosmetic changes and possible sgconfig hang's fix
[stg.git] / projects / stargazer / plugins / configuration / rpcconfig / users_methods.cpp
index ff783471ab00f1d148439a2a2cafbb45498171a5..fcd81a5e50f31adc05caab4b17a5e3dc61f18a17 100644 (file)
@@ -394,6 +394,7 @@ if (tariffs->FindByName(tariff))
                                             login,
                                             store))
             {
+            u->ResetNextTariff();
             u->WriteConf();
             *retvalPtr = xmlrpc_c::value_boolean(true);
             return;