From: Maxim Mamontov Date: Fri, 23 Aug 2013 15:58:13 +0000 (+0300) Subject: Fixed response for GetAuthBy on error. X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/6e4239ba344debdb20b44b66cf242fec3314de35 Fixed response for GetAuthBy on error. --- diff --git a/projects/stargazer/plugins/configuration/sgconfig/parser_auth_by.cpp b/projects/stargazer/plugins/configuration/sgconfig/parser_auth_by.cpp index e1da75b6..3c17ce95 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/parser_auth_by.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/parser_auth_by.cpp @@ -33,7 +33,7 @@ answerList->erase(answerList->begin(), answerList->end()); USER_PTR u; if (users->FindByName(login, &u)) { - answerList->push_back(""); + answerList->push_back(""); return; }