From 8a68de4476fef4aa0c00d97e5c6a855ffc445276 Mon Sep 17 00:00:00 2001 From: Iain Donnelly Date: Wed, 1 Oct 2025 17:36:00 +0100 Subject: [PATCH] Update RandomPlayerbotFactory.cpp Fixed a typo --- src/RandomPlayerbotFactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/RandomPlayerbotFactory.cpp b/src/RandomPlayerbotFactory.cpp index b5d74b8d..c28b9587 100644 --- a/src/RandomPlayerbotFactory.cpp +++ b/src/RandomPlayerbotFactory.cpp @@ -877,7 +877,7 @@ void RandomPlayerbotFactory::CreateRandomGuilds() // Check how many randomBot guilds are in the guild table in the characterDB uint32 guildNumber = 0; - QueryResult guildTableResults = CharacterDatabase.Query("SELECT guildid, leaderguid FROM guid"); + QueryResult guildTableResults = CharacterDatabase.Query("SELECT guildid, leaderguid FROM guild"); if (guildTableResults) { do @@ -887,7 +887,7 @@ void RandomPlayerbotFactory::CreateRandomGuilds() uint32 leaderGuid = fields[1].Get(); // check the accountID of the guild leader against the list of randomBot accounts to determine if this is a player guild or a bot guild - QueryResult charactersTableResults = CharacterDatabase.Query("SELECT account FROM characters WHERE guid = ({})", leaderGuid); + QueryResult charactersTableResults = CharacterDatabase.Query("SELECT account FROM characters WHERE guid = {}", leaderGuid); if (charactersTableResults) { Field* fields2 = charactersTableResults->Fetch();