From a44e773146a039d22ecb392dac9f12cdf7cd838e Mon Sep 17 00:00:00 2001 From: FrancescoBorzi Date: Sun, 22 Nov 2020 16:49:51 +0100 Subject: [PATCH] fix(AzerothCore): correct mistake in GuildMethods.h --- GuildMethods.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/GuildMethods.h b/GuildMethods.h index 3a2b6be..42fa417 100644 --- a/GuildMethods.h +++ b/GuildMethods.h @@ -277,8 +277,7 @@ namespace LuaGuild CharacterDatabaseTransaction trans(nullptr); guild->DeleteMember(trans, player->GET_GUID(), isDisbanding); #elif defined AZEROTHCORE - SQLTransaction trans(nullptr); - guild->DeleteMember(trans, player->GET_GUID(), isDisbanding); + guild->DeleteMember(player->GET_GUID(), isDisbanding); #else guild->DelMember(player->GET_GUID(), isDisbanding); #endif