Merge pull request #98 from hongyiqin/test

Fix SQL syntax in PlayerbotMgr.cpp
This commit is contained in:
ZhengPeiRu21
2022-08-16 15:42:26 -06:00
committed by GitHub

View File

@@ -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;