diff options
Diffstat (limited to 'src/Chatbar.cpp')
-rw-r--r-- | src/Chatbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Chatbar.cpp b/src/Chatbar.cpp index 51ab9f5..241a808 100644 --- a/src/Chatbar.cpp +++ b/src/Chatbar.cpp @@ -235,7 +235,7 @@ namespace dchat if(msg[0] == '/') processChatCommand(StringView(msg.data() + 1, msg.size() - 1)); else - channel->getMessageBoard().addMessage(new Message(channel->getLocalUser(), msg)); + channel->addMessage(msg); clear(); } } |