diff options
Diffstat (limited to 'src/net/eathena/guildrecv.cpp')
-rw-r--r-- | src/net/eathena/guildrecv.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/net/eathena/guildrecv.cpp b/src/net/eathena/guildrecv.cpp index 5fa99bb78..574090c8f 100644 --- a/src/net/eathena/guildrecv.cpp +++ b/src/net/eathena/guildrecv.cpp @@ -743,6 +743,24 @@ void GuildRecv::processGuildExpulsion(Net::MessageIn &msg) GuildRecv::processGuildExpulsionContinue(nick); } +void GuildRecv::processGuildExpulsion2(Net::MessageIn &msg) +{ + msg.readString(40, "message"); + const int charId = msg.readInt32("char id"); + + std::string nick; + + if (taGuild != nullptr) + { + const GuildMember *const member = taGuild->getMemberByCharId(charId); + if (member != nullptr) + { + nick = member->getName(); + GuildRecv::processGuildExpulsionContinue(nick); + } + } +} + void GuildRecv::processGuildExpulsionList(Net::MessageIn &msg) { const int length = msg.readInt16("len"); |