X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/9dc2984179d989f8774ea7ff6d72c81d376b5a2c..2ab46b57b6d575e31dbfa48a77cd7308c01f5914:/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 2e41fcc9..2279aae6 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/parser_message.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/parser_message.cpp @@ -22,12 +22,13 @@ #include "parser_message.h" #include "stg/users.h" -#include "stg/common.h" extern volatile time_t stgTime; // So sad... using STG::PARSER::SEND_MESSAGE; +const char * SEND_MESSAGE::tag = "Message"; + int SEND_MESSAGE::Start(void *, const char *el, const char **attr) { if (strcasecmp(el, m_tag.c_str()) != 0) @@ -101,6 +102,7 @@ int SEND_MESSAGE::End(void *, const char *el) m_result = res_ok; } CreateAnswer(); + m_done = true; return 0; }