X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/b263b465696c8cebe90a041061b0f162b46138e1..4d38b4974e27dded1c8d542da3f9ec9e5295fbaf:/projects/sgconf/common_sg.cpp?ds=inline diff --git a/projects/sgconf/common_sg.cpp b/projects/sgconf/common_sg.cpp index ca1aa50c..38520c52 100644 --- a/projects/sgconf/common_sg.cpp +++ b/projects/sgconf/common_sg.cpp @@ -434,8 +434,8 @@ GetUserData cbdata(request, false); int res = 0; if (isMessage) { - sc.SetSendMessageCb(RecvSetUserAnswer, &cbdata); - res = sc.MsgUser(str.c_str()); + sc.SetSendMessageCallback(RecvSetUserAnswer, &cbdata); + res = sc.SendMessage(str.c_str()); } else {