mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +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 << "\"players\": " << players << ", ";
|
||||
sstr << "\"max_players\": " << maxPlayers << ", ";
|
||||
sstr << "\"version\": " << TES3MP_VERSION << ", ";
|
||||
sstr << "\"passw\": " << mwmp::Networking::get().isPassworded();
|
||||
sstr << "\"version\": \"" << TES3MP_VERSION << "\", ";
|
||||
sstr << "\"passw\": " << (mwmp::Networking::get().isPassworded() ? "true" : "false");
|
||||
sstr << "}";
|
||||
mutexData.unlock();
|
||||
|
||||
|
|
Loading…
Reference in a new issue