mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-27 21:23:28 -08:00
improved banning; added [url] and [card] tags for chat
This commit is contained in:
@@ -280,8 +280,6 @@ ResponseCode Server_ProtocolHandler::cmdLogin(Command_Login *cmd, CommandContain
|
||||
QString userName = cmd->getUsername().simplified();
|
||||
if (userName.isEmpty() || (userInfo != 0))
|
||||
return RespContextError;
|
||||
if (server->getUserBanned(this, userName))
|
||||
return RespWrongPassword;
|
||||
authState = server->loginUser(this, userName, cmd->getPassword());
|
||||
if (authState == PasswordWrong)
|
||||
return RespWrongPassword;
|
||||
|
||||
Reference in New Issue
Block a user