diff options
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/chattab.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp index 2b360789a..f219bb661 100644 --- a/src/gui/widgets/chattab.cpp +++ b/src/gui/widgets/chattab.cpp @@ -412,9 +412,14 @@ void ChatTab::clearText() void ChatTab::handleInput(const std::string &msg) { if (chatWindow) - Net::getChatHandler()->talk(chatWindow->doReplace(msg)); + { + Net::getChatHandler()->talk(chatWindow->doReplace(msg), + mChannelName); + } else - Net::getChatHandler()->talk(msg); + { + Net::getChatHandler()->talk(msg, mChannelName); + } } void ChatTab::handleCommand(const std::string &msg) |