diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-07 16:18:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-07 16:18:58 +0300 |
commit | a3cedd77c73c820d6125aaa4b8f3dacbe92705c4 (patch) | |
tree | 1b4378e93bd820332cc29a6f7128193df2cb4628 /src/net | |
parent | 7859c4315e8c59ebeef3b6b030f921badd542f09 (diff) | |
download | ManaVerse-a3cedd77c73c820d6125aaa4b8f3dacbe92705c4.tar.gz ManaVerse-a3cedd77c73c820d6125aaa4b8f3dacbe92705c4.tar.bz2 ManaVerse-a3cedd77c73c820d6125aaa4b8f3dacbe92705c4.tar.xz ManaVerse-a3cedd77c73c820d6125aaa4b8f3dacbe92705c4.zip |
eathena: fix packet SMSG_GUILD_EXPULSION 0x0839.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/guildhandler.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
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); } |