diff options
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index 6e2ab0fb3..beae2731b 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -332,6 +332,10 @@ void ChatHandler::processGmChat(Net::MessageIn &msg) } std::string chatMsg = msg.readRawString(chatMsgLength, "message"); + // remove non persistend "colors" from server. + if (!findCutFirst(chatMsg, "ssss")) + findCutFirst(chatMsg, "eulb"); + const size_t pos = chatMsg.find(" : ", 0); if (chatWindow) |