summaryrefslogtreecommitdiff
path: root/indra/newview/llconversationlog.cpp
diff options
context:
space:
mode:
authorAlexanderP ProductEngine <apaschenko@productengine.com>2012-12-15 20:37:18 +0200
committerAlexanderP ProductEngine <apaschenko@productengine.com>2012-12-15 20:37:18 +0200
commit64dffe46118f9c435115edd2b714a0314242e752 (patch)
tree51da5c0aea2592da5978cd7d4863d5af9d9a9aec /indra/newview/llconversationlog.cpp
parent01bdfb3ecb88ce71078494274a8d7835d181c50e (diff)
CHUI-598 : Fixed : Conversation log file created even when keep conversation log preference is off :
Checked the status of the another ("KeepConversationLogTranscripts") setting too.
Diffstat (limited to 'indra/newview/llconversationlog.cpp')
-rw-r--r--indra/newview/llconversationlog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llconversationlog.cpp b/indra/newview/llconversationlog.cpp
index a0765f5e16..1171b3db41 100644
--- a/indra/newview/llconversationlog.cpp
+++ b/indra/newview/llconversationlog.cpp
@@ -191,7 +191,8 @@ LLConversationLog::LLConversationLog()
if (ctrl)
{
ctrl->getSignal()->connect(boost::bind(&LLConversationLog::enableLogging, this, _2));
- if (ctrl->getValue().asBoolean())
+ if (ctrl->getValue().asBoolean()
+ && gSavedSettings.getBOOL("KeepConversationLogTranscripts"))
{
enableLogging(true);
}