1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00

Log sucessful logins for convenience

This commit is contained in:
Ivan Savenko 2024-03-29 15:04:03 +02:00
parent 2a717a6d66
commit 2deca842de

View File

@ -595,6 +595,7 @@ void LobbyServer::receiveClientLogin(const NetworkConnectionPtr & connection, co
activeAccounts[connection] = accountID; activeAccounts[connection] = accountID;
logGlobal->info("%s: Logged in as %s", accountID, displayName);
sendClientLoginSuccess(connection, accountCookie, displayName); sendClientLoginSuccess(connection, accountCookie, displayName);
sendRecentChatHistory(connection, "global", "english"); sendRecentChatHistory(connection, "global", "english");
if (language != "english") if (language != "english")