summaryrefslogtreecommitdiff
path: root/src/net/eathena/partyhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-10 19:58:05 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-10 19:58:05 +0300
commit3ba8553af2f4a85c00aec37c96803ae54c3331cd (patch)
treeaaf4fd52a6f1b5b130de15b35783ab517ac34708 /src/net/eathena/partyhandler.cpp
parentf6b5e4e208c3020957422c7efdf97ac1d878a012 (diff)
downloadplus-3ba8553af2f4a85c00aec37c96803ae54c3331cd.tar.gz
plus-3ba8553af2f4a85c00aec37c96803ae54c3331cd.tar.bz2
plus-3ba8553af2f4a85c00aec37c96803ae54c3331cd.tar.xz
plus-3ba8553af2f4a85c00aec37c96803ae54c3331cd.zip
eathena: fix packet SMSG_PARTY_INVITE_RESPONSE 0x02c5.
Diffstat (limited to 'src/net/eathena/partyhandler.cpp')
-rw-r--r--src/net/eathena/partyhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp
index c53654c57..90f39d89c 100644
--- a/src/net/eathena/partyhandler.cpp
+++ b/src/net/eathena/partyhandler.cpp
@@ -407,9 +407,9 @@ void PartyHandler::processPartyInviteResponse(Net::MessageIn &msg) const
if (!Ea::partyTab)
return;
- const std::string nick = msg.readString(24);
+ const std::string nick = msg.readString(24, "nick");
- switch (msg.readUInt8())
+ switch (msg.readInt32("result"))
{
case 0:
NotifyManager::notify(NotifyTypes::PARTY_INVITE_ALREADY_MEMBER,