git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Removed unused constants.
[stg.git]
/
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 cd66ec9e037741a95368ceb03f9512acb9cc4e82..67e2c6996a07dd840cec07164d002945241a1f49 100644
(file)
--- 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;
}