]> git.stg.codes - stg.git/commitdiff
Fixed ServerInfo parser.
authorMaxim Mamontov <faust.madf@gmail.com>
Sun, 23 Nov 2014 09:29:27 +0000 (11:29 +0200)
committerMaxim Mamontov <faust.madf@gmail.com>
Sun, 23 Nov 2014 09:29:27 +0000 (11:29 +0200)
stglibs/srvconf.lib/parsers/server_info.cpp

index 22a0e43c8e5cdd3557eeacf6378af89b944f54b3..6afb4a767472ef986336ad08379b4ace22aa39a5 100644 (file)
@@ -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