From 34567bcf44f99016ad2185ff62265ff4678a0998 Mon Sep 17 00:00:00 2001 From: doitux Date: Sun, 5 Sep 2010 17:14:34 +0000 Subject: [PATCH] fixes --- src/gui/qt/chattools/chattools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/qt/chattools/chattools.cpp b/src/gui/qt/chattools/chattools.cpp index 7ffd422f..1554fbcf 100644 --- a/src/gui/qt/chattools/chattools.cpp +++ b/src/gui/qt/chattools/chattools.cpp @@ -65,7 +65,7 @@ void ChatTools::receiveMessage(QString playerName, QString message) { QString tempMsg; - if(INET_LOBBY_CHAT && playerName == "(chat bot)" && message.startsWith(myNick)) { + if(myChatType == INET_LOBBY_CHAT && playerName == "(chat bot)" && message.startsWith(myNick)) { tempMsg = QString(""+message+""); //play beep sound only in INET-lobby-chat