]> git.stg.codes - stg.git/blobdiff - projects/sgconf/common_sg.cpp
Changes in SendMessage method.
[stg.git] / projects / sgconf / common_sg.cpp
index cf0469a35ffa764ab03cf4d686fffe937e192a40..b899fc063795fb72be5b6c1a1ef2d2908e78ce1e 100644 (file)
@@ -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)
     {