X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/107a6a8d0b9eae3c4375a685e49dcf90bea69335..9c6406d76392a55a85d3ec25586a47ab892b88fe:/projects/stargazer/plugins/configuration/sgconfig/parser_admins.cpp?ds=inline diff --git a/projects/stargazer/plugins/configuration/sgconfig/parser_admins.cpp b/projects/stargazer/plugins/configuration/sgconfig/parser_admins.cpp index d9b6cfc9..0db867bb 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/parser_admins.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/parser_admins.cpp @@ -22,7 +22,6 @@ #include "parser_admins.h" #include "stg/admins.h" -#include "stg/common.h" #include // strcasecmp @@ -45,9 +44,7 @@ void GET_ADMINS::CreateAnswer() return; } - m_answer.clear(); - - m_answer += GetOpenTag(); + m_answer = ""; ADMIN_CONF ac; int h = m_admins.OpenSearch(); @@ -63,7 +60,7 @@ void GET_ADMINS::CreateAnswer() m_answer += ""; } m_admins.CloseSearch(h); - m_answer += GetCloseTag(); + m_answer += ""; } int DEL_ADMIN::Start(void *, const char * el, const char ** attr)