Merge branch 'AzerothCore' of https://github.com/ZhengPeiRu21/mod-playerbots into AzerothCore

This commit is contained in:
郑佩茹
2022-05-17 10:55:53 -06:00
2 changed files with 1 additions and 1 deletions

View File

@@ -249,7 +249,7 @@ void RandomPlayerbotFactory::CreateRandomBots()
}
std::vector<std::future<void>> dels;
QueryResult results = LoginDatabase.Query("SELECT id FROM account WHERE username LIKE ''{}'%%'", sPlayerbotAIConfig->randomBotAccountPrefix.c_str());
QueryResult results = LoginDatabase.Query("SELECT id FROM account WHERE username LIKE '{}%%'", sPlayerbotAIConfig->randomBotAccountPrefix.c_str());
if (results)
{
do