diff options
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index 22ec532ce..31a585cf9 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -280,7 +280,11 @@ void ChatHandler::processChat(Net::MessageIn &msg) return; } - std::string chatMsg = msg.readRawString(chatMsgLength, "message"); + processChatContinue(msg.readRawString(chatMsgLength, "message")); +} + +void ChatHandler::processChatContinue(std::string chatMsg) +{ const size_t pos = chatMsg.find(" : ", 0); bool allow(true); |