Core/DBLayer: Match field type reads in core with data types in db for prepared statements

This commit is contained in:
Shauren
2012-03-24 16:44:01 +01:00
parent cd52a9aacf
commit c8bf09d504
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)