mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-20 16:43:21 -08:00
improved banning; added [url] and [card] tags for chat
This commit is contained in:
@@ -52,7 +52,7 @@ AuthenticationResult Server::loginUser(Server_ProtocolHandler *session, QString
|
||||
QMutexLocker locker(&serverMutex);
|
||||
if (name.size() > 35)
|
||||
name = name.left(35);
|
||||
AuthenticationResult authState = checkUserPassword(name, password);
|
||||
AuthenticationResult authState = checkUserPassword(session, name, password);
|
||||
if (authState == PasswordWrong)
|
||||
return authState;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user