diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-03-21 18:32:11 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-03-21 18:41:11 -0600 |
commit | b72c543d96fb66b422ea26104f8548646a29da21 (patch) | |
tree | cff491a337b24769991d1f5409762d2804f8941b /src/net/ea/partyhandler.cpp | |
parent | 4a8c6daddf85db4ea9cc78b4a351e4ac4462e99d (diff) | |
download | mana-client-b72c543d96fb66b422ea26104f8548646a29da21.tar.gz mana-client-b72c543d96fb66b422ea26104f8548646a29da21.tar.bz2 mana-client-b72c543d96fb66b422ea26104f8548646a29da21.tar.xz mana-client-b72c543d96fb66b422ea26104f8548646a29da21.zip |
Fix crash when declining invite
Reviewed-by: Chuck Miller
Diffstat (limited to 'src/net/ea/partyhandler.cpp')
-rw-r--r-- | src/net/ea/partyhandler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp index 922e59d1..f2f27936 100644 --- a/src/net/ea/partyhandler.cpp +++ b/src/net/ea/partyhandler.cpp @@ -111,6 +111,9 @@ void PartyHandler::handleMessage(Net::MessageIn &msg) break; case SMSG_PARTY_INVITE_RESPONSE: { + if (!partyTab) + break; + std::string nick = msg.readString(24); switch (msg.readInt8()) { |