git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make some methods inline
[stg.git]
/
projects
/
stargazer
/
plugins
/
configuration
/
rpcconfig
/
users_methods.cpp
diff --git
a/projects/stargazer/plugins/configuration/rpcconfig/users_methods.cpp
b/projects/stargazer/plugins/configuration/rpcconfig/users_methods.cpp
index 0c28c60bfa2aaba30836e3165663bb5b397ea39f..fcd81a5e50f31adc05caab4b17a5e3dc61f18a17 100644
(file)
--- a/
projects/stargazer/plugins/configuration/rpcconfig/users_methods.cpp
+++ b/
projects/stargazer/plugins/configuration/rpcconfig/users_methods.cpp
@@
-1,17
+1,16
@@
#include <cerrno>
#include <cerrno>
-#include "users_methods.h"
-
-#include "users.h"
-#include "admins.h"
-#include "tariffs.h"
+#include "stg/users.h"
+#include "stg/admins.h"
+#include "stg/tariffs.h"
+#include "stg/user_ips.h"
+#include "stg/common.h"
+#include "stg/user_property.h"
+#include "users_methods.h"
#include "rpcconfig.h"
#include "user_helper.h"
#include "rpcconfig.h"
#include "user_helper.h"
-#include "user_ips.h"
#include "utils.h"
#include "utils.h"
-#include "common.h"
-#include "user_property.h"
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
@@
-395,6
+394,7
@@
if (tariffs->FindByName(tariff))
login,
store))
{
login,
store))
{
+ u->ResetNextTariff();
u->WriteConf();
*retvalPtr = xmlrpc_c::value_boolean(true);
return;
u->WriteConf();
*retvalPtr = xmlrpc_c::value_boolean(true);
return;