X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/bc10181876b089f6293c259861075b392ea6ddfa..27fd26be047af5ccd9d023cf0134fcbf272f18cd:/projects/stargazer/plugins/configuration/sgconfig/configproto.h?ds=sidebyside diff --git a/projects/stargazer/plugins/configuration/sgconfig/configproto.h b/projects/stargazer/plugins/configuration/sgconfig/configproto.h index 7f6929fe..4b93d675 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/configproto.h +++ b/projects/stargazer/plugins/configuration/sgconfig/configproto.h @@ -84,13 +84,12 @@ private: int RecvLoginS(int sock); int SendLoginSAnswer(int sock, int err); int RecvData(int sock); - int SendDataAnswer(int sock); - void SendError(const char * text); + int SendDataAnswer(int sock, const std::string & answer); + int SendError(int sock, const std::string & text); void WriteLogAccessFailed(uint32_t ip); int ParseCommand(); - std::list answerList; std::list requestList; uint32_t adminIP; std::string adminLogin;