diff options
Diffstat (limited to 'linden/indra/newview/llstartup.cpp')
-rw-r--r-- | linden/indra/newview/llstartup.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp index 0464e99..301e67c 100644 --- a/linden/indra/newview/llstartup.cpp +++ b/linden/indra/newview/llstartup.cpp | |||
@@ -936,7 +936,14 @@ bool idle_startup() | |||
936 | gDirUtilp->setChatLogsDir(gSavedPerAccountSettings.getString("InstantMessageLogPath")); | 936 | gDirUtilp->setChatLogsDir(gSavedPerAccountSettings.getString("InstantMessageLogPath")); |
937 | } | 937 | } |
938 | 938 | ||
939 | gDirUtilp->setPerAccountChatLogsDir(gHippoGridManager->getCurrentGridNick(), firstname, lastname); | 939 | if (gSavedSettings.getBOOL("UseLegacyChatLogsFolder")) |
940 | { | ||
941 | gDirUtilp->setPerAccountChatLogsDir(LLStringUtil::null, firstname, lastname); | ||
942 | } | ||
943 | else | ||
944 | { | ||
945 | gDirUtilp->setPerAccountChatLogsDir(gHippoGridManager->getCurrentGridNick(), firstname, lastname); | ||
946 | } | ||
940 | 947 | ||
941 | LLFile::mkdir(gDirUtilp->getChatLogsDir()); | 948 | LLFile::mkdir(gDirUtilp->getChatLogsDir()); |
942 | LLFile::mkdir(gDirUtilp->getPerAccountChatLogsDir()); | 949 | LLFile::mkdir(gDirUtilp->getPerAccountChatLogsDir()); |