diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index 6b7f9d9aa..c37e18f90 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -1140,10 +1140,10 @@ void ChatHandler::processBattleChatMessage(Net::MessageIn &msg) void ChatHandler::processScriptMessage(Net::MessageIn &msg) { - UNIMPLIMENTEDPACKET; const int sz = msg.readInt16("len") - 8; msg.readBeingId("being id"); - msg.readString(sz, "message"); + const std::string message = msg.readString(sz, "message"); + localChatTab->chatLog(message, ChatMsgType::BY_SERVER); } void ChatHandler::leaveChatRoom() const |