summaryrefslogtreecommitdiff
path: root/indra/newview/llimprocessing.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2026-08-11 07:35:32 +0800
committerErik Kundiman <erik@megapahit.org>2026-08-11 07:35:32 +0800
commit8b598aef44780ab162ddad3596699d3d877ec362 (patch)
tree602ba8ccd2a4887af0b49be76e73a5d8a890508c /indra/newview/llimprocessing.cpp
parenta2f28aa0bdb8c9a657cfe9767b141e16696538f8 (diff)
Teleport blockerHEADmain
https://megapahit.com/show_bug.cgi?id=9
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;
}