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