From: Maxim Mamontov Date: Sun, 23 Nov 2014 09:46:39 +0000 (+0200) Subject: Fixed ServerInfo parser. X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/f993eb7338ffc7b46486a553301d443515ffc9f8 Fixed ServerInfo parser. --- diff --git a/stglibs/srvconf.lib/parsers/server_info.cpp b/stglibs/srvconf.lib/parsers/server_info.cpp index 6afb4a76..f0033611 100644 --- a/stglibs/srvconf.lib/parsers/server_info.cpp +++ b/stglibs/srvconf.lib/parsers/server_info.cpp @@ -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++)