Merge pull request #339 from FrancescoBorzi/fix-guild-methods

fix(AzerothCore): correct mistake in GuildMethods.h
This commit is contained in:
Rochet2
2020-11-22 20:15:30 +02:00
committed by GitHub

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