X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/7d8f69bd16c0e415d771a29c367519f26184ffae..2a1f23881feba670f3bb614e19409b5f4e90b211:/projects/sgconf/common_sg.cpp diff --git a/projects/sgconf/common_sg.cpp b/projects/sgconf/common_sg.cpp index cf0469a3..b899fc06 100644 --- a/projects/sgconf/common_sg.cpp +++ b/projects/sgconf/common_sg.cpp @@ -460,12 +460,12 @@ return true; //----------------------------------------------------------------------------- bool ProcessSendMessage(const std::string & server, uint16_t port, const std::string & login, const std::string & password, - const std::string & requestString) + const std::string & user, const std::string & text) { SERVCONF sc(server, port, login, password); ResultData data; -int res = sc.SendMessage(requestString.c_str(), ResultCallback, &data); +int res = sc.SendMessage(user, text, ResultCallback, &data); if (res == st_ok && data.result) {