mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-22 23:26:14 -08:00
server crash fix
This commit is contained in:
@@ -62,6 +62,7 @@ AuthenticationResult Server::loginUser(Server_ProtocolHandler *session, QString
|
|||||||
}
|
}
|
||||||
|
|
||||||
ServerInfo_User *data = getUserData(name);
|
ServerInfo_User *data = getUserData(name);
|
||||||
|
name = data->getName(); // Compensate for case indifference
|
||||||
session->setUserInfo(data);
|
session->setUserInfo(data);
|
||||||
|
|
||||||
users.insert(name, session);
|
users.insert(name, session);
|
||||||
|
|||||||
Reference in New Issue
Block a user