From a3cedd77c73c820d6125aaa4b8f3dacbe92705c4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 7 Oct 2014 16:18:58 +0300 Subject: eathena: fix packet SMSG_GUILD_EXPULSION 0x0839. --- src/net/eathena/guildhandler.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/net/eathena') diff --git a/src/net/eathena/guildhandler.cpp b/src/net/eathena/guildhandler.cpp index 6c740c945..8beedbedd 100644 --- a/src/net/eathena/guildhandler.cpp +++ b/src/net/eathena/guildhandler.cpp @@ -421,10 +421,8 @@ void GuildHandler::processGuildMemberLogin(Net::MessageIn &msg) const void GuildHandler::processGuildExpulsion(Net::MessageIn &msg) const { - msg.skip(2); // size (can be many explusions in list) - const std::string nick = msg.readString(24); // Name (of expulsed?) - msg.skip(24); // acc - msg.readString(44); // Message + const std::string nick = msg.readString(24, "name"); + msg.readString(40, "message"); processGuildExpulsionContinue(nick); } -- cgit v1.2.3-70-g09d2