aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterchat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfloaterchat.cpp')
-rw-r--r--linden/indra/newview/llfloaterchat.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/linden/indra/newview/llfloaterchat.cpp b/linden/indra/newview/llfloaterchat.cpp
index f83ce6c..8e9d489 100644
--- a/linden/indra/newview/llfloaterchat.cpp
+++ b/linden/indra/newview/llfloaterchat.cpp
@@ -70,7 +70,6 @@
70#include "llchatbar.h" 70#include "llchatbar.h"
71#include "lllogchat.h" 71#include "lllogchat.h"
72#include "lltexteditor.h" 72#include "lltexteditor.h"
73#include "llfloaterhtml.h"
74#include "llweb.h" 73#include "llweb.h"
75#include "llstylemap.h" 74#include "llstylemap.h"
76 75
@@ -386,7 +385,11 @@ void LLFloaterChat::addChat(const LLChat& chat,
386 text_color = gSavedSettings.getColor("IMChatColor"); 385 text_color = gSavedSettings.getColor("IMChatColor");
387 size = INSTANT_MSG_SIZE; 386 size = INSTANT_MSG_SIZE;
388 } 387 }
389 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 }
390 } 393 }
391 394
392 if(from_instant_message && gSavedPerAccountSettings.getBOOL("LogChatIM")) 395 if(from_instant_message && gSavedPerAccountSettings.getBOOL("LogChatIM"))