This commit is contained in:
doitux
2010-09-05 17:14:34 +00:00
parent 13be392af4
commit 34567bcf44
+1 -1
View File
@@ -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("<span style=\"font-weight:bold; color:red;\">"+message+"</span>");
//play beep sound only in INET-lobby-chat