summaryrefslogtreecommitdiff
path: root/src/net/tmwa/guildhandler.cpp
diff options
context:
space:
mode:
authorrawng <rawng@debian.house>2015-08-03 20:49:01 -0400
committerAndrei Karas <akaras@inbox.ru>2015-08-09 00:32:13 +0300
commit58fc50f70ab9223f5692dd93933bde0542a401df (patch)
treedc3da14235e1247074f2805b1300655f094e3ff2 /src/net/tmwa/guildhandler.cpp
parent2fa941b89177cf91cbbc84700c1d7631aa85bcc2 (diff)
downloadmv-58fc50f70ab9223f5692dd93933bde0542a401df.tar.gz
mv-58fc50f70ab9223f5692dd93933bde0542a401df.tar.bz2
mv-58fc50f70ab9223f5692dd93933bde0542a401df.tar.xz
mv-58fc50f70ab9223f5692dd93933bde0542a401df.zip
Edit Guild Expulsion in tmwa.
Diffstat (limited to 'src/net/tmwa/guildhandler.cpp')
-rw-r--r--src/net/tmwa/guildhandler.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/net/tmwa/guildhandler.cpp b/src/net/tmwa/guildhandler.cpp
index c552cfaef..41d169395 100644
--- a/src/net/tmwa/guildhandler.cpp
+++ b/src/net/tmwa/guildhandler.cpp
@@ -398,10 +398,9 @@ void GuildHandler::processGuildMemberLogin(Net::MessageIn &msg)
void GuildHandler::processGuildExpulsion(Net::MessageIn &msg)
{
- msg.readInt16("len?");
- const std::string nick = msg.readString(24, "name?");
- msg.skip(24, "player name");
- msg.readString(44, "message");
+ const std::string nick = msg.readString(24, "name");
+ msg.readString(40, "reason");
+ msg.readString(24, "kicker name");
processGuildExpulsionContinue(nick);
}