mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Update PlayerbotMgr.cpp
Fix sql syntax
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user