mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Fix typo causing crash in GuildCreateActions SQL
This commit is contained in:
@@ -131,7 +131,7 @@ bool PetitionOfferAction::Execute(Event event)
|
||||
data << petitions.front()->GetGUID();
|
||||
data << guid;
|
||||
|
||||
QueryResult result = CharacterDatabase.Query("SELECT playerguid FROM petition_sign WHERE player_account = {} AND petitionguid = {}'",
|
||||
QueryResult result = CharacterDatabase.Query("SELECT playerguid FROM petition_sign WHERE player_account = {} AND petitionguid = {}",
|
||||
player->GetSession()->GetAccountId(), petitions.front()->GetGUID().GetCounter());
|
||||
if (result)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user