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

index 6afb4a767472ef986336ad08379b4ace22aa39a5..f00336115323c24b2f43a9831e15fccecdaed955 100644 (file)
@@ -40,7 +40,7 @@ SERVER_INFO::PARSER::PARSER(CALLBACK f, void * d, const std::string & e)
     AddParser(propertyParsers, "version", info.version);
     AddParser(propertyParsers, "tariff", info.tariffType);
     AddParser(propertyParsers, "dir_num", info.dirNum);
-    AddParser(propertyParsers, "users_num", info.usersNum);
+    AddParser(propertyParsers, "user_num", info.usersNum);
     AddParser(propertyParsers, "tariff_num", info.tariffNum);
 
     for (size_t i = 0; i < DIR_NUM; i++)