diff options
Diffstat (limited to 'linden/indra/newview/llfloaterchat.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterchat.cpp | 5 |
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()); |