X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/250a7d6e7a4c8ffd644931b7b3964289a8f99151..b46ee6da376a4dc717ce2a2c68c0f59ae8225b1b:/projects/stargazer/plugins/configuration/sgconfig/parser_message.cpp diff --git a/projects/stargazer/plugins/configuration/sgconfig/parser_message.cpp b/projects/stargazer/plugins/configuration/sgconfig/parser_message.cpp index 18767320..2e41fcc9 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/parser_message.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/parser_message.cpp @@ -30,7 +30,7 @@ using STG::PARSER::SEND_MESSAGE; int SEND_MESSAGE::Start(void *, const char *el, const char **attr) { - if (strcasecmp(el, tag.c_str()) != 0) + if (strcasecmp(el, m_tag.c_str()) != 0) return -1; for (size_t i = 0; i < 14; i++) @@ -85,7 +85,7 @@ int SEND_MESSAGE::Start(void *, const char *el, const char **attr) int SEND_MESSAGE::End(void *, const char *el) { - if (strcasecmp(el, tag.c_str()) != 0) + if (strcasecmp(el, m_tag.c_str()) != 0) return -1; m_result = res_unknown; @@ -126,13 +126,13 @@ void SEND_MESSAGE::CreateAnswer() switch (m_result) { case res_ok: - answer = ""; + m_answer = ""; break; case res_params_error: - answer = ""; + m_answer = ""; break; case res_unknown: - answer = ""; + m_answer = ""; break; } }