1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-01 10:39:41 +00:00

Fix variable name in JSON

This commit is contained in:
Koncord 2017-01-10 20:35:23 +08:00
parent e92df0c465
commit 2b0ae7b9ca

View file

@ -67,7 +67,7 @@ MasterClient::Send(std::string hostname, std::string modname, unsigned maxPlayer
sstr << "\"port\": " << serverPort << ", ";
sstr << "\"query_port\": " << queryPort << ", ";
sstr << "\"hostname\": \"" << hostname.c_str() << "\", ";
sstr << "\"hostname\": \"" << modname.c_str() << "\", ";
sstr << "\"modname\": \"" << modname.c_str() << "\", ";
sstr << "\"players\": " << players << ", ";
sstr << "\"max_players\": " << maxPlayers;
sstr << "}";