Core/DBLayer: Match field type reads in core with data types in db for prepared statements
This commit is contained in:
@@ -2775,7 +2775,7 @@ void World::LoadDBAllowedSecurityLevel()
|
||||
PreparedQueryResult result = LoginDatabase.Query(stmt);
|
||||
|
||||
if (result)
|
||||
SetPlayerSecurityLimit(AccountTypes(result->Fetch()->GetUInt16()));
|
||||
SetPlayerSecurityLimit(AccountTypes(result->Fetch()->GetUInt8()));
|
||||
}
|
||||
|
||||
void World::SetPlayerSecurityLimit(AccountTypes _sec)
|
||||
|
||||
Reference in New Issue
Block a user