summaryrefslogtreecommitdiff
path: root/indra/newview/llimprocessing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llimprocessing.cpp')
-rw-r--r--indra/newview/llimprocessing.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llimprocessing.cpp b/indra/newview/llimprocessing.cpp
index 779ed725ac..9366f1e65a 100644
--- a/indra/newview/llimprocessing.cpp
+++ b/indra/newview/llimprocessing.cpp
@@ -1206,7 +1206,8 @@ void LLIMProcessing::processNewMessage(LLUUID from_id,
case IM_LURE_USER:
case IM_TELEPORT_REQUEST:
{
- if (is_muted)
+ static LLCachedControl<bool> block_teleport_offers(gSavedSettings, "BlockTeleportOffers");
+ if (is_muted || block_teleport_offers)
{
return;
}