aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterchat.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2009-05-24 02:59:24 -0500
committerJacek Antonelli2009-05-24 02:59:40 -0500
commitb2627d927f1642bea84b92adfccd9403676e1341 (patch)
tree07f069e63cfa633b9bd0d07b4eecc229ef67f974 /linden/indra/newview/llfloaterchat.cpp
parentSecond Life viewer sources 1.23.1-RC (diff)
downloadmeta-impy-b2627d927f1642bea84b92adfccd9403676e1341.zip
meta-impy-b2627d927f1642bea84b92adfccd9403676e1341.tar.gz
meta-impy-b2627d927f1642bea84b92adfccd9403676e1341.tar.bz2
meta-impy-b2627d927f1642bea84b92adfccd9403676e1341.tar.xz
Second Life viewer sources 1.23.2-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloaterchat.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/linden/indra/newview/llfloaterchat.cpp b/linden/indra/newview/llfloaterchat.cpp
index 682ed8e..ea529d1 100644
--- a/linden/indra/newview/llfloaterchat.cpp
+++ b/linden/indra/newview/llfloaterchat.cpp
@@ -398,7 +398,7 @@ void LLFloaterChat::addChat(const LLChat& chat,
398 size = INSTANT_MSG_SIZE; 398 size = INSTANT_MSG_SIZE;
399 } 399 }
400 // We display anything if it's not an IM. If it's an IM, check pref... 400 // We display anything if it's not an IM. If it's an IM, check pref...
401 if ( !from_instant_message || gSavedSettings.getBOOL("IMInChatHistory") ) 401 if ( !from_instant_message || gSavedSettings.getBOOL("IMInChatConsole") )
402 { 402 {
403 gConsole->addLine(chat.mText, size, text_color); 403 gConsole->addLine(chat.mText, size, text_color);
404 } 404 }
@@ -406,9 +406,6 @@ void LLFloaterChat::addChat(const LLChat& chat,
406 406
407 if(from_instant_message && gSavedPerAccountSettings.getBOOL("LogChatIM")) 407 if(from_instant_message && gSavedPerAccountSettings.getBOOL("LogChatIM"))
408 log_chat_text(chat); 408 log_chat_text(chat);
409
410 if(from_instant_message && gSavedSettings.getBOOL("IMInChatHistory"))
411 addChatHistory(chat,false);
412 409
413 LLTextParser* highlight = LLTextParser::getInstance(); 410 LLTextParser* highlight = LLTextParser::getInstance();
414 highlight->triggerAlerts(gAgent.getID(), gAgent.getPositionGlobal(), chat.mText, gViewerWindow->getWindow()); 411 highlight->triggerAlerts(gAgent.getID(), gAgent.getPositionGlobal(), chat.mText, gViewerWindow->getWindow());