X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/250a7d6e7a4c8ffd644931b7b3964289a8f99151..b46ee6da376a4dc717ce2a2c68c0f59ae8225b1b:/projects/stargazer/plugins/configuration/sgconfig/parser_auth_by.cpp?ds=inline
diff --git a/projects/stargazer/plugins/configuration/sgconfig/parser_auth_by.cpp b/projects/stargazer/plugins/configuration/sgconfig/parser_auth_by.cpp
index e16745c5..2137ef6b 100644
--- a/projects/stargazer/plugins/configuration/sgconfig/parser_auth_by.cpp
+++ b/projects/stargazer/plugins/configuration/sgconfig/parser_auth_by.cpp
@@ -27,7 +27,7 @@ using STG::PARSER::AUTH_BY;
int AUTH_BY::Start(void * /*data*/, const char *el, const char **attr)
{
- if (strcasecmp(el, tag.c_str()) != 0)
+ if (strcasecmp(el, m_tag.c_str()) != 0)
return -1;
if (!attr[1])
@@ -42,13 +42,13 @@ void AUTH_BY::CreateAnswer()
CONST_USER_PTR u;
if (m_users.FindByName(m_login, &u))
{
- answer = "";
+ m_answer = "";
return;
}
- answer = "";
+ m_answer = "";
std::vector list(u->GetAuthorizers());
for (std::vector::const_iterator it = list.begin(); it != list.end(); ++it)
- answer += "";
- answer += "";
+ m_answer += "";
+ m_answer += "";
}