fix(AzerothCore): correct mistake in GuildMethods.h

This commit is contained in:
FrancescoBorzi
2020-11-22 16:49:51 +01:00
parent a143a65c19
commit a44e773146

View File

@@ -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