]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/parsers/get_admin.cpp
Improved CHG_USER.
[stg.git] / stglibs / srvconf.lib / parsers / get_admin.cpp
index a728e7d19078a2e01708d73f93e683d705da3399..41217dfb4408c69be298a204f5bab0129cf66019 100644 (file)
@@ -90,6 +90,7 @@ if (depth == 0 && parsingAnswer)
 void GET_ADMIN::PARSER::ParseAdmin(const char * el, const char ** attr)
 {
 if (strcasecmp(el, "admin") == 0)
+    {
     if (attr && attr[0] && attr[1])
         {
         if (strcasecmp(attr[1], "error") == 0)
@@ -104,6 +105,7 @@ if (strcasecmp(el, "admin") == 0)
         }
     else
         parsingAnswer = true;
+    }
 }
 //-----------------------------------------------------------------------------
 void GET_ADMIN::PARSER::ParseAdminParams(const char * el, const char ** attr)