diff --git a/indra/newview/llimprocessing.cpp b/indra/newview/llimprocessing.cpp index 0eeb264de0..2b7e22e23c 100644 --- a/indra/newview/llimprocessing.cpp +++ b/indra/newview/llimprocessing.cpp @@ -723,7 +723,7 @@ void LLIMProcessing::processNewMessage(LLUUID from_id, */ // Omnifilter support - static LLCachedControl use_omnifilter(gSavedSettings, "OmnifilterEnabled"); + static LLCachedControl use_omnifilter(gSavedSettings, "OmnifilterEnabled", false); if (use_omnifilter) { OmnifilterEngine::Haystack haystack; diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index 19a5d085c0..de479cabc5 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -3482,7 +3482,7 @@ void LLIMMgr::addMessage( // Omnifilter support std::string msg = original_msg; - static LLCachedControl use_omnifilter(gSavedSettings, "OmnifilterEnabled"); + static LLCachedControl use_omnifilter(gSavedSettings, "OmnifilterEnabled", false); if (use_omnifilter) { // this is the type for new group IM sessions started - apparently this is the only place diff --git a/indra/newview/llscriptfloater.cpp b/indra/newview/llscriptfloater.cpp index 37b29ca453..64f3b87c8a 100644 --- a/indra/newview/llscriptfloater.cpp +++ b/indra/newview/llscriptfloater.cpp @@ -475,7 +475,7 @@ void LLScriptFloaterManager::onAddNotification(const LLUUID& notification_id) LLUUID object_id = notification_id_to_object_id(notification_id); // Omnifilter support - static LLCachedControl use_omnifilter(gSavedSettings, "OmnifilterEnabled"); + static LLCachedControl use_omnifilter(gSavedSettings, "OmnifilterEnabled", false); if (use_omnifilter) { LLNotificationPtr notification = LLNotifications::instance().find(notification_id); diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index e65c97c98b..22f529a9f6 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -3252,7 +3252,7 @@ void process_chat_from_simulator(LLMessageSystem *msg, void **user_data) } // Omnifilter support - static LLCachedControl use_omnifilter(gSavedSettings, "OmnifilterEnabled"); + static LLCachedControl use_omnifilter(gSavedSettings, "OmnifilterEnabled", false); if (use_omnifilter) { OmnifilterEngine::Haystack haystack; diff --git a/indra/newview/omnifilterengine.cpp b/indra/newview/omnifilterengine.cpp index b222dceaa0..ae7b882d99 100644 --- a/indra/newview/omnifilterengine.cpp +++ b/indra/newview/omnifilterengine.cpp @@ -69,7 +69,7 @@ const OmnifilterEngine::Needle* OmnifilterEngine::logMatch(const std::string& ne bool OmnifilterEngine::matchStrings(std::string_view needle_string, std::string_view haystack_string, eMatchType match_type, bool case_insensitive) { - static LLCachedControl use_omnifilter(gSavedSettings, "OmnifilterEnabled"); + static LLCachedControl use_omnifilter(gSavedSettings, "OmnifilterEnabled", false); if (!use_omnifilter) { return false;