]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/parser.cpp
Removed some unused stuff.
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / parser.cpp
index 601b34bc46d8bec14b6a56f41c5cc0b287416fcf..7deab3d0fb5c83c82677f3536f464521d8bde933 100644 (file)
@@ -133,8 +133,7 @@ answerList->erase(answerList->begin(), answerList->end());
 
 if (users->FindByName(login, &u))
     {
-    s = "<user result=\"error\"/>";
-    answerList->push_back(s);
+    answerList->push_back("<user result=\"error\" reason=\"User not found.\"/>");
     return;
     }