X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/750f1f62ce6576bf1ad86366a5fb8ce1c4524ccd..fa37e48043079fdf1a33c695c75f83706d59e46b:/projects/stargazer/plugins/configuration/sgconfig/parser_users.cpp 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; }