X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..c913a42e2208692b293f03c75c501e1d3fc23903:/projects/stargazer/plugins/configuration/rpcconfig/messages_methods.cpp?ds=sidebyside diff --git a/projects/stargazer/plugins/configuration/rpcconfig/messages_methods.cpp b/projects/stargazer/plugins/configuration/rpcconfig/messages_methods.cpp index 281041e7..e6a4df6f 100644 --- a/projects/stargazer/plugins/configuration/rpcconfig/messages_methods.cpp +++ b/projects/stargazer/plugins/configuration/rpcconfig/messages_methods.cpp @@ -1,8 +1,11 @@ -#include "messages_methods.h" +#include // xmlrpc-c devs have missed something :) +#include "stg/message.h" +#include "stg/common.h" +#include "messages_methods.h" #include "rpcconfig.h" -#include "stg_message.h" -#include "utils.h" + +extern const volatile time_t stgTime; //------------------------------------------------------------------------------ @@ -78,7 +81,7 @@ message.header.lastSendTime = 0; std::vector::iterator lit; for (lit = logins.begin(); lit != logins.end(); ++lit) { - user_iter ui; + USER_PTR ui; if (users->FindByName(xmlrpc_c::value_string(*lit), &ui)) { printfd(__FILE__, "METHOD_MESSAGE_SEND::execute(): 'User '%s' not found'\n", std::string(xmlrpc_c::value_string(*lit)).c_str());