Don't instantiate LLTextParser::getInstance before user logged in.
This commit is contained in:
committed by
Siana Gearz
parent
2ceebebb49
commit
f297068ec0
@@ -497,6 +497,10 @@ void LLFloaterChat::addChat(const LLChat& chat,
|
||||
//static
|
||||
void LLFloaterChat::triggerAlerts(const std::string& text)
|
||||
{
|
||||
// Cannot instantiate LLTextParser before logging in.
|
||||
if (gDirUtilp->getLindenUserDir(true).empty())
|
||||
return;
|
||||
|
||||
LLTextParser* parser = LLTextParser::getInstance();
|
||||
// bool spoken=FALSE;
|
||||
for (S32 i=0;i<parser->mHighlights.size();i++)
|
||||
|
||||
Reference in New Issue
Block a user