diff --git a/src/PlayerbotMgr.cpp b/src/PlayerbotMgr.cpp index 7527793a..191994b7 100644 --- a/src/PlayerbotMgr.cpp +++ b/src/PlayerbotMgr.cpp @@ -958,7 +958,7 @@ void PlayerbotMgr::OnPlayerLogin(Player* player) return; uint32 accountId = player->GetSession()->GetAccountId(); - QueryResult results = CharacterDatabase.Query("SELECT name FROM characters WHERE account = {}'", accountId); + QueryResult results = CharacterDatabase.Query("SELECT name FROM characters WHERE account = {}", accountId); if (results) { std::ostringstream out;