summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/chat-server/chathandler.cpp1
-rw-r--r--src/defines.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/chat-server/chathandler.cpp b/src/chat-server/chathandler.cpp
index 6f7fac9c..423ee743 100644
--- a/src/chat-server/chathandler.cpp
+++ b/src/chat-server/chathandler.cpp
@@ -935,6 +935,7 @@ bool ChatHandler::handlePartyJoin(const std::string &invited, const std::string
c1->party->addUser(invited);
c2->party = c1->party;
// was successful so return success to inviter
+ out.writeString(invited);
out.writeByte(ERRMSG_OK);
c1->send(out);
return true;
diff --git a/src/defines.h b/src/defines.h
index 640eb9bc..17cafca1 100644
--- a/src/defines.h
+++ b/src/defines.h
@@ -202,7 +202,7 @@ enum {
// Party
PCMSG_PARTY_INVITE = 0x03A0, // S name
- CPMSG_PARTY_INVITE_RESPONSE = 0x03A1, // B error
+ CPMSG_PARTY_INVITE_RESPONSE = 0x03A1, // B error, S name
CPMSG_PARTY_INVITED = 0x03A2, // S name
PCMSG_PARTY_ACCEPT_INVITE = 0x03A5, // S name
CPMSG_PARTY_ACCEPT_INVITE_RESPONSE = 0x03A6, // B error