X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/9dc2984179d989f8774ea7ff6d72c81d376b5a2c..acdf6ab94fee26ebc4017bf32cf6171c7d9462e9:/projects/stargazer/plugins/configuration/sgconfig/parser_auth_by.cpp diff --git a/projects/stargazer/plugins/configuration/sgconfig/parser_auth_by.cpp b/projects/stargazer/plugins/configuration/sgconfig/parser_auth_by.cpp index 2137ef6b..7e38a119 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/parser_auth_by.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/parser_auth_by.cpp @@ -23,8 +23,12 @@ #include "stg/users.h" #include "stg/user.h" +#include + using STG::PARSER::AUTH_BY; +const char * AUTH_BY::tag = "GetUserAuthBy"; + int AUTH_BY::Start(void * /*data*/, const char *el, const char **attr) { if (strcasecmp(el, m_tag.c_str()) != 0) @@ -39,7 +43,8 @@ int AUTH_BY::Start(void * /*data*/, const char *el, const char **attr) void AUTH_BY::CreateAnswer() { - CONST_USER_PTR u; + using ConstUserPtr = const User*; + ConstUserPtr u; if (m_users.FindByName(m_login, &u)) { m_answer = "";