From 3007ca23605bd15418de6773f79ae94604cc430c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 16 Nov 2013 14:50:10 +0300 Subject: dont show speech messages from other languages if local client have language tab disabled. --- src/being/being.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/being/being.cpp') 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; -- cgit v1.2.3-60-g2f50