mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-03 00:05:34 +00:00
add quotes around player names to clarify further in thread name debug
prints
This commit is contained in:
parent
dd5b0bdd6d
commit
19abb5b68c
@ -296,7 +296,7 @@ void TNetwork::Authentication(SOCKET TCPSock) {
|
||||
return;
|
||||
}
|
||||
|
||||
RegisterThread("(" + std::to_string(Client->GetID()) + ") " + Client->GetName());
|
||||
RegisterThread("(" + std::to_string(Client->GetID()) + ") \"" + Client->GetName() + "\"");
|
||||
debug("Name -> " + Client->GetName() + ", Guest -> " + std::to_string(Client->IsGuest()) + ", Roles -> " + Client->GetRoles());
|
||||
debug("There are " + std::to_string(mServer.ClientCount()) + " known clients");
|
||||
mServer.ForEachClient([&](const std::weak_ptr<TClient>& ClientPtr) -> bool {
|
||||
|
Loading…
x
Reference in New Issue
Block a user