Fix possible null pointer crash

Ansariel 2015-03-10 21:41:06 +01:00
parent 9fa5a25de4
commit 1b9253d1d3
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ void FSKeywords::notify(const LLChat& chat)
}
static LLCachedControl<bool> FSEnableGrowl(gSavedSettings, "FSEnableGrowl");
if (FSEnableGrowl)
if (FSEnableGrowl && gGrowlManager)
{
std::string msg = chat.mFromName;
std::string prefix = chat.mText.substr(0, 4);