diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/tabs/chat/chattab.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/widgets/tabs/chat/chattab.cpp b/src/gui/widgets/tabs/chat/chattab.cpp index 358fd8c44..ae75f9981 100644 --- a/src/gui/widgets/tabs/chat/chattab.cpp +++ b/src/gui/widgets/tabs/chat/chattab.cpp @@ -429,8 +429,11 @@ void ChatTab::clearText() void ChatTab::handleInput(const std::string &msg) { - chatHandler->talk(ChatWindow::doReplace(msg), - mChannelName); + if (chatHandler) + { + chatHandler->talk(ChatWindow::doReplace(msg), + mChannelName); + } } void ChatTab::handleCommandStr(const std::string &msg) |