Skip to content

Commit

Permalink
Core/DBLayer: C/P fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leak committed Mar 24, 2012
1 parent c8bf09d commit 5f9ca3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/game/Chat/Commands/Level2.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit 5f9ca3b

Please sign in to comment.