X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/750f1f62ce6576bf1ad86366a5fb8ce1c4524ccd..8ae4c5e8f4f88c52eb2947f9c9195f132785b46a:/projects/stargazer/plugins/configuration/sgconfig/parser_users.cpp?ds=sidebyside diff --git a/projects/stargazer/plugins/configuration/sgconfig/parser_users.cpp b/projects/stargazer/plugins/configuration/sgconfig/parser_users.cpp index cd66ec9e..67e2c699 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/parser_users.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/parser_users.cpp @@ -682,6 +682,8 @@ int DEL_USER::End(void *, const char *el) if (!res) m_users.Del(u->GetLogin(), &m_currAdmin); + m_done = true; + return 0; } return -1; @@ -731,7 +733,10 @@ int CHECK_USER::Start(void *, const char *el, const char **attr) int CHECK_USER::End(void *, const char *el) { if (strcasecmp(el, m_tag.c_str()) == 0) + { + m_done = true; return 0; + } return -1; }