mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
server crash fix
This commit is contained in:
parent
cd20a3d0f4
commit
712aa9768f
1 changed files with 1 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ AuthenticationResult Server::loginUser(Server_ProtocolHandler *session, QString
|
|||
}
|
||||
|
||||
ServerInfo_User *data = getUserData(name);
|
||||
name = data->getName(); // Compensate for case indifference
|
||||
session->setUserInfo(data);
|
||||
|
||||
users.insert(name, session);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue