summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/chathandler.cpp1
1 files changed, 1 insertions, 0 deletions
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