mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
Core/DBLayer: C/P fix
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user