summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-16 14:50:10 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-16 14:50:10 +0300
commit3007ca23605bd15418de6773f79ae94604cc430c (patch)
treec43ab4dd478f15037c5c32be4bbcd51cdc810242 /src/being/being.cpp
parent561f01116ca939fd9f42fef8f962826cb2a0e0a3 (diff)
downloadmv-3007ca23605bd15418de6773f79ae94604cc430c.tar.gz
mv-3007ca23605bd15418de6773f79ae94604cc430c.tar.bz2
mv-3007ca23605bd15418de6773f79ae94604cc430c.tar.xz
mv-3007ca23605bd15418de6773f79ae94604cc430c.zip
dont show speech messages from other languages if local client have language tab disabled.
Diffstat (limited to 'src/being/being.cpp')
-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;