]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/rpcconfig/rpcconfig.cpp
Исправлена ошибка приводящая к тому что в OnChange не попадали логин и
[stg.git] / projects / stargazer / plugins / configuration / rpcconfig / rpcconfig.cpp
index c059ba6142f70b3cbee587c9366dae269a252197..46905b15366e539b319ad4010cf72b72e1156e6a 100644 (file)
@@ -1,7 +1,17 @@
-#include "rpcconfig.h"
-
 #include <cstdlib>
 #include <csignal>
 #include <cstdlib>
 #include <csignal>
+
+#include "rpcconfig.h"
+
+#include "../../../admin.h"
+#include "../../../admins.h"
+#include "../../../users.h"
+#include "../../../tariffs.h"
+#include "../../../traffcounter.h"
+#include "../../../settings.h"
+#include "base_store.h"
+#include "base_settings.h"
+
 #include "info_methods.h"
 #include "users_methods.h"
 #include "tariffs_methods.h"
 #include "info_methods.h"
 #include "users_methods.h"
 #include "tariffs_methods.h"
@@ -311,6 +321,7 @@ rpcRegistry.addMethod("stargazer.get_users", methodGetUsersPtr);
 xmlrpc_c::methodPtr const methodChgUserPtr(new METHOD_USER_CHG(
             this,
             admins,
 xmlrpc_c::methodPtr const methodChgUserPtr(new METHOD_USER_CHG(
             this,
             admins,
+            tariffs,
             store,
             users
             ));
             store,
             users
             ));