X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/d230cb2411b6d2d6603a930f165bbd3138831eeb..9f1473ca33ad6847f22809ca50aaa00fe4944e6c:/projects/stargazer/plugins/configuration/sgconfig/configproto.h?ds=inline diff --git a/projects/stargazer/plugins/configuration/sgconfig/configproto.h b/projects/stargazer/plugins/configuration/sgconfig/configproto.h index 4b93d675..206e543b 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/configproto.h +++ b/projects/stargazer/plugins/configuration/sgconfig/configproto.h @@ -87,6 +87,7 @@ private: int SendDataAnswer(int sock, const std::string & answer); int SendError(int sock, const std::string & text); void WriteLogAccessFailed(uint32_t ip); + const std::string & GetDataAnswer() const { return dataAnswer; } int ParseCommand(); @@ -100,6 +101,7 @@ private: int state; ADMIN * currAdmin; PLUGIN_LOGGER & logger; + std::string dataAnswer; int listenSocket;