aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterchat.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloaterchat.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloaterchat.cpp b/linden/indra/newview/llfloaterchat.cpp
index a626ad3..14f9a10 100644
--- a/linden/indra/newview/llfloaterchat.cpp
+++ b/linden/indra/newview/llfloaterchat.cpp
@@ -385,7 +385,11 @@ void LLFloaterChat::addChat(const LLChat& chat,
385 text_color = gSavedSettings.getColor("IMChatColor"); 385 text_color = gSavedSettings.getColor("IMChatColor");
386 size = INSTANT_MSG_SIZE; 386 size = INSTANT_MSG_SIZE;
387 } 387 }
388 gConsole->addLine(chat.mText, size, text_color); 388 // We display anything if it's not an IM. If it's an IM, check pref...
389 if ( !from_instant_message || gSavedSettings.getBOOL("IMInChatHistory") )
390 {
391 gConsole->addLine(chat.mText, size, text_color);
392 }
389 } 393 }
390 394
391 if(from_instant_message && gSavedPerAccountSettings.getBOOL("LogChatIM")) 395 if(from_instant_message && gSavedPerAccountSettings.getBOOL("LogChatIM"))