]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/configproto.cpp
Added client connection class into sgconfig.
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / configproto.cpp
index a5ffcf5b3c5d4a4828d26245cd3e117c6c5a1be6..84e57bb2a2fe4eed4f561518fa550df498cdfd26 100644 (file)
@@ -78,6 +78,7 @@ if (cp->currParser)
     {
     if (cp->currParser->ParseEnd(data, el) == 0)
         {
+        cp->dataAnswer = cp->currParser->GetAnswer();
         cp->currParser = NULL;
         }
     }
@@ -87,6 +88,8 @@ else
         {
         if (cp->dataParser[i]->ParseEnd(data, el) == 0)
             {
+            cp->dataAnswer = cp->currParser->GetAnswer();
+            cp->currParser = NULL;
             break;
             }
         }