Fixed swapped names in 0fd8aa2a77

Noticed by elexis

This was SVN commit r21534.
This commit is contained in:
Imarok 2018-03-13 14:55:55 +00:00
parent df79180fa6
commit 0c522edef3

View File

@ -959,8 +959,8 @@ bool CNetServerWorker::OnAuthenticate(void* context, CFsmEvent* event)
if (server.m_LobbyAuth && usernameWithoutRating.LowerCase() != session->GetUserName().LowerCase())
{
LOGERROR("Net server: lobby auth: %s tried joining as %s",
usernameWithoutRating.ToUTF8(),
session->GetUserName().ToUTF8());
session->GetUserName().ToUTF8(),
usernameWithoutRating.ToUTF8());
session->Disconnect(NDR_LOBBY_AUTH_FAILED);
return true;
}