mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 18:19:55 +00:00
[Server] Some fixes in requests to the master server
This commit is contained in:
parent
b7ab831c46
commit
edfade2a90
1 changed files with 2 additions and 2 deletions
|
@ -71,8 +71,8 @@ MasterClient::Send(std::string hostname, std::string modname, unsigned maxPlayer
|
||||||
sstr << "\"modname\": \"" << modname.c_str() << "\", ";
|
sstr << "\"modname\": \"" << modname.c_str() << "\", ";
|
||||||
sstr << "\"players\": " << players << ", ";
|
sstr << "\"players\": " << players << ", ";
|
||||||
sstr << "\"max_players\": " << maxPlayers << ", ";
|
sstr << "\"max_players\": " << maxPlayers << ", ";
|
||||||
sstr << "\"version\": " << TES3MP_VERSION << ", ";
|
sstr << "\"version\": \"" << TES3MP_VERSION << "\", ";
|
||||||
sstr << "\"passw\": " << mwmp::Networking::get().isPassworded();
|
sstr << "\"passw\": " << (mwmp::Networking::get().isPassworded() ? "true" : "false");
|
||||||
sstr << "}";
|
sstr << "}";
|
||||||
mutexData.unlock();
|
mutexData.unlock();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue