summaryrefslogtreecommitdiff
path: root/src/net/ea/chathandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/chathandler.cpp')
-rw-r--r--src/net/ea/chathandler.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/net/ea/chathandler.cpp b/src/net/ea/chathandler.cpp
index bd0adf77e..52e9a7873 100644
--- a/src/net/ea/chathandler.cpp
+++ b/src/net/ea/chathandler.cpp
@@ -135,21 +135,6 @@ void ChatHandler::processWhisperResponse(Net::MessageIn &msg)
BLOCK_END("ChatHandler::processWhisperResponse")
}
-void ChatHandler::processWhisper(Net::MessageIn &msg) const
-{
- BLOCK_START("ChatHandler::processWhisper")
- const int chatMsgLength = msg.readInt16("len") - 28;
- std::string nick = msg.readString(24, "message");
-
- if (chatMsgLength <= 0)
- {
- BLOCK_END("ChatHandler::processWhisper")
- return;
- }
-
- processWhisperContinue(nick, msg.readString(chatMsgLength, "message"));
-}
-
void ChatHandler::processWhisperContinue(const std::string &nick,
std::string chatMsg) const
{