From aed1ad6210fa1ed0a70da5d87082cedff0bd516a Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sat, 22 Dec 2007 20:42:35 +0000 Subject: Make sure chat messages are also trimmed for the local player. --- src/net/chathandler.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/net/chathandler.cpp') diff --git a/src/net/chathandler.cpp b/src/net/chathandler.cpp index c8f52e2b..dbbb84a5 100644 --- a/src/net/chathandler.cpp +++ b/src/net/chathandler.cpp @@ -98,6 +98,7 @@ void ChatHandler::handleMessage(MessageIn *msg) { chatMsg.erase(0, pos + 3); } + trim(chatMsg); player_node->setSpeech(chatMsg, SPEECH_TIME); } else -- cgit v1.2.3-70-g09d2