summaryrefslogtreecommitdiff
path: root/src/net/ea/partyhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/partyhandler.cpp')
-rw-r--r--src/net/ea/partyhandler.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp
index 60356cf61..4e2fd8e52 100644
--- a/src/net/ea/partyhandler.cpp
+++ b/src/net/ea/partyhandler.cpp
@@ -295,30 +295,6 @@ void PartyHandler::processPartyUpdateCoords(Net::MessageIn &msg) const
}
}
-void PartyHandler::processPartyMessage(Net::MessageIn &msg) const
-{
- const int msgLength = msg.readInt16() - 8;
- if (msgLength <= 0)
- return;
-
- const int id = msg.readInt32();
- const std::string chatMsg = msg.readString(msgLength);
-
- if (Ea::taParty && Ea::partyTab)
- {
- const PartyMember *const member = Ea::taParty->getMember(id);
- if (member)
- {
- Ea::partyTab->chatLog(member->getName(), chatMsg);
- }
- else
- {
- NotifyManager::notify(NotifyTypes::PARTY_UNKNOWN_USER_MSG,
- chatMsg);
- }
- }
-}
-
ChatTab *PartyHandler::getTab() const
{
return partyTab;