Core/DB: Fixes sometimes wrong values added to DB, also fixes errors when trying to convert updatefield to object.
This commit is contained in:
@@ -169,7 +169,7 @@ namespace Game.Chat
|
||||
{
|
||||
// Get the accounts with GM Level >0
|
||||
PreparedStatement stmt = DB.Login.GetPreparedStatement(LoginStatements.SEL_GM_ACCOUNTS);
|
||||
stmt.AddValue(0, AccountTypes.Moderator);
|
||||
stmt.AddValue(0, (byte)AccountTypes.Moderator);
|
||||
stmt.AddValue(1, Global.WorldMgr.GetRealm().Id.Index);
|
||||
SQLResult result = DB.Login.Query(stmt);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user