summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterchat.cpp
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@lindenlab.com>2009-06-11 11:14:45 -0700
committerBryan O'Sullivan <bos@lindenlab.com>2009-06-11 11:14:45 -0700
commit02c86086acceb83fcddad763123b532c70641688 (patch)
treea7a220131b5b491d5c0823df1c07ee86a97e2a77 /indra/newview/llfloaterchat.cpp
parent5748a14f5d7e85230e74c330a7c2b058856be9cd (diff)
parent9c94b76ec10cb5a323f5f8c5c1e8340f40c3b175 (diff)
Merge with Sabin
Diffstat (limited to 'indra/newview/llfloaterchat.cpp')
-rw-r--r--indra/newview/llfloaterchat.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/llfloaterchat.cpp b/indra/newview/llfloaterchat.cpp
index 682ed8e26b..ea529d1883 100644
--- a/indra/newview/llfloaterchat.cpp
+++ b/indra/newview/llfloaterchat.cpp
@@ -398,7 +398,7 @@ void LLFloaterChat::addChat(const LLChat& chat,
size = INSTANT_MSG_SIZE;
}
// We display anything if it's not an IM. If it's an IM, check pref...
- if ( !from_instant_message || gSavedSettings.getBOOL("IMInChatHistory") )
+ if ( !from_instant_message || gSavedSettings.getBOOL("IMInChatConsole") )
{
gConsole->addLine(chat.mText, size, text_color);
}
@@ -406,9 +406,6 @@ void LLFloaterChat::addChat(const LLChat& chat,
if(from_instant_message && gSavedPerAccountSettings.getBOOL("LogChatIM"))
log_chat_text(chat);
-
- if(from_instant_message && gSavedSettings.getBOOL("IMInChatHistory"))
- addChatHistory(chat,false);
LLTextParser* highlight = LLTextParser::getInstance();
highlight->triggerAlerts(gAgent.getID(), gAgent.getPositionGlobal(), chat.mText, gViewerWindow->getWindow());