summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorRunitaiLinden <davep@lindenlab.com>2023-05-17 13:41:05 -0500
committerRunitaiLinden <davep@lindenlab.com>2023-05-17 13:41:05 -0500
commita2e418f250c49de9aba943a62f92189fcef6220a (patch)
tree3993a02eff77b05f280f6e474c3c68dab624a3b1 /indra/newview/llviewermessage.cpp
parent6f5f16e0319bde183534a779839299dca7fe50ab (diff)
parent2f44377b3e98d60f1bd5b1a495c9a3aab9cfa450 (diff)
Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rw-r--r--indra/newview/llviewermessage.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index d4c34a4e57..b98d836803 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -5825,12 +5825,8 @@ void process_script_question(LLMessageSystem *msg, void **user_data)
{
count++;
known_questions |= script_perm.permbit;
-
- if (!LLMuteList::isLinden(owner_name))
- {
- // check whether permission question should cause special caution dialog
- caution |= (script_perm.caution);
- }
+ // check whether permission question should cause special caution dialog
+ caution |= (script_perm.caution);
if (("ScriptTakeMoney" == script_perm.question) && has_not_only_debit)
continue;
@@ -6294,7 +6290,7 @@ bool handle_lure_callback(const LLSD& notification, const LLSD& response)
// More than OFFER_RECIPIENT_LIMIT targets will overload the message
// producing an llerror.
LLSD args;
- args["OFFERS"] = notification["payload"]["ids"].size();
+ args["OFFERS"] = LLSD::Integer(notification["payload"]["ids"].size());
args["LIMIT"] = static_cast<int>(OFFER_RECIPIENT_LIMIT);
LLNotificationsUtil::add("TooManyTeleportOffers", args);
return false;