summaryrefslogtreecommitdiff
path: root/src/net/eathena
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 /src/net/eathena
parent7859c4315e8c59ebeef3b6b030f921badd542f09 (diff)
downloadplus-a3cedd77c73c820d6125aaa4b8f3dacbe92705c4.tar.gz
plus-a3cedd77c73c820d6125aaa4b8f3dacbe92705c4.tar.bz2
plus-a3cedd77c73c820d6125aaa4b8f3dacbe92705c4.tar.xz
plus-a3cedd77c73c820d6125aaa4b8f3dacbe92705c4.zip
eathena: fix packet SMSG_GUILD_EXPULSION 0x0839.
Diffstat (limited to 'src/net/eathena')
-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);
}