mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-22 07:10:25 -08:00
preliminary avatar support
This commit is contained in:
@@ -56,8 +56,6 @@ AuthenticationResult Server::loginUser(Server_ProtocolHandler *session, QString
|
||||
}
|
||||
|
||||
ServerInfo_User *data = getUserData(name);
|
||||
if (authState == PasswordRight)
|
||||
data->setUserLevel(data->getUserLevel() | ServerInfo_User::IsRegistered);
|
||||
session->setUserInfo(data);
|
||||
|
||||
users.insert(name, session);
|
||||
|
||||
Reference in New Issue
Block a user