From: Maxim Mamontov <faust.madf@gmail.com>
Date: Sun, 23 Nov 2014 09:29:27 +0000 (+0200)
Subject: Fixed ServerInfo parser.
X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/37fda4684191d9b1be5357c8d2f4229db4d6ab0a

Fixed ServerInfo parser.
---

diff --git a/stglibs/srvconf.lib/parsers/server_info.cpp b/stglibs/srvconf.lib/parsers/server_info.cpp
index 22a0e43c..6afb4a76 100644
--- a/stglibs/srvconf.lib/parsers/server_info.cpp
+++ b/stglibs/srvconf.lib/parsers/server_info.cpp
@@ -52,7 +52,7 @@ int SERVER_INFO::PARSER::ParseStart(const char *el, const char **attr)
 depth++;
 if (depth == 1)
     {
-    if (strcasecmp(el, "ServerInfo") == 0)
+    if (strcasecmp(el, "GetServerInfo") == 0)
         parsingAnswer = true;
     }
 else