summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-07 16:18:58 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-07 16:18:58 +0300
commita3cedd77c73c820d6125aaa4b8f3dacbe92705c4 (patch)
tree1b4378e93bd820332cc29a6f7128193df2cb4628
parent7859c4315e8c59ebeef3b6b030f921badd542f09 (diff)
downloadmanaplus-a3cedd77c73c820d6125aaa4b8f3dacbe92705c4.tar.gz
manaplus-a3cedd77c73c820d6125aaa4b8f3dacbe92705c4.tar.bz2
manaplus-a3cedd77c73c820d6125aaa4b8f3dacbe92705c4.tar.xz
manaplus-a3cedd77c73c820d6125aaa4b8f3dacbe92705c4.zip
eathena: fix packet SMSG_GUILD_EXPULSION 0x0839.
-rw-r--r--src/net/eathena/guildhandler.cpp6
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);
}