Core/DBLayer: C/P fix

This commit is contained in:
leak
2012-03-24 16:48:59 +01:00
parent c8bf09d504
commit 5f9ca3b998

View File

@@ -388,9 +388,9 @@ bool ChatHandler::HandlePInfoCommand(const char* args)
PreparedQueryResult result2 = LoginDatabase.Query(stmt);
if (!result2)
{
stmt = LoginDatabase.GetPreparedStatement(CHAR_SEL_PINFO_BANS);
stmt = CharacterDatabase.GetPreparedStatement(CHAR_SEL_PINFO_BANS);
stmt->setUInt32(0, GUID_LOPART(target_guid));
result2 = LoginDatabase.Query(stmt);
result2 = CharacterDatabase.Query(stmt);
}
if (result2)