diff --git a/indra/newview/lllogchat.cpp b/indra/newview/lllogchat.cpp index 9adf374c71..29f6693089 100644 --- a/indra/newview/lllogchat.cpp +++ b/indra/newview/lllogchat.cpp @@ -53,6 +53,7 @@ #include #include +#include "llstartup.h" const S32 LOG_RECALL_SIZE = 2048; @@ -272,6 +273,10 @@ void LLLogChat::saveHistory(const std::string& filename, const LLUUID& from_id, const std::string& line) { + if(LLStartUp::getStartupState() <= STATE_LOGIN_CLEANUP) + { + return; + } std::string tmp_filename = filename; LLStringUtil::trim(tmp_filename); if (tmp_filename.empty())