summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2016-09-26 12:13:18 -0700
committerRider Linden <rider@lindenlab.com>2016-09-26 12:13:18 -0700
commitcf83f0a3c210ceabbb6d59e71e35b281d99ba3da (patch)
tree579243aed2b65e2ff22cfaeef4e6e38637e6d709 /indra/newview/llviewermessage.cpp
parentbee933049f3b3bb7073f2576483e78a0420e5e21 (diff)
MAINT-6756: Added ForceSitAvatar to the list of things an Exp can do in the dialog.
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rw-r--r--indra/newview/llviewermessage.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index 92df3866f7..058477876b 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -6601,6 +6601,11 @@ void process_script_question(LLMessageSystem *msg, void **user_data)
if (("ScriptTakeMoney" == script_perm.question) && has_not_only_debit)
continue;
+ if (script_perm.question == "JoinAnExperience")
+ { // Some experience only permissions do not have an explicit permission bit. Add them here.
+ script_question += " " + LLTrans::getString("ForceSitAvatar") + "\n";
+ }
+
script_question += " " + LLTrans::getString(script_perm.question) + "\n";
}
}