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
commit b7446da4f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;