Core/Refactor: Part 5
This commit is contained in:
@@ -289,7 +289,7 @@ namespace Game
|
||||
stmt.AddValue(0, accountId);
|
||||
stmt.AddValue(1, CalculateShaPassHash(username, password));
|
||||
SQLResult result = DB.Login.Query(stmt);
|
||||
return result.IsEmpty() ? false : true;
|
||||
return !result.IsEmpty();
|
||||
}
|
||||
|
||||
public bool CheckEmail(uint accountId, string newEmail)
|
||||
|
||||
Reference in New Issue
Block a user