summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/being/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 566720b0c..7e690edf5 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -417,7 +417,7 @@ void Being::setSpeech(const std::string &text, const std::string &channel,
if (!userPalette)
return;
- if (!channel.empty() && (langChatTab && langChatTab->getChannelName()
+ if (!channel.empty() && (!langChatTab || langChatTab->getChannelName()
!= channel))
{
return;