diff options
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
| -rw-r--r-- | indra/newview/llviewermessage.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index aa6993098d..9f034b6afd 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -2248,6 +2248,7 @@ void process_chat_from_simulator(LLMessageSystem *msg, void **user_data) } break; case CHAT_TYPE_DEBUG_MSG: + case CHAT_TYPE_OWNER: case CHAT_TYPE_NORMAL: verb = ": "; break; @@ -2553,7 +2554,7 @@ void process_teleport_finish(LLMessageSystem* msg, void**) msg->getStringFast(_PREHASH_Info, _PREHASH_SeedCapability, STD_STRING_BUF_SIZE, seedCap); - // update home location if we are teleporting out of prelude + // update home location if we are teleporting out of prelude - specific to teleporting to welcome area if((teleport_flags & TELEPORT_FLAGS_SET_HOME_TO_TARGET) && (!gAgent.isGodlike())) { @@ -4257,6 +4258,8 @@ void notify_cautioned_script_question(LLScriptQuestionCBData* cbdata, S32 orig_q // only continue if at least some permissions were requested if (orig_questions) { + // check to see if the person we are asking + // "'[OBJECTNAME]', an object owned by '[OWNERNAME]', // located in [REGIONNAME] at [REGIONPOS], // has been <granted|denied> permission to: [PERMISSIONS]." @@ -4420,6 +4423,9 @@ void process_script_question(LLMessageSystem *msg, void **user_data) msg->getStringFast(_PREHASH_Data, _PREHASH_ObjectOwner, DB_FULL_NAME_BUF_SIZE, owner_name); msg->getS32Fast(_PREHASH_Data, _PREHASH_Questions, questions ); + // don't display permission requests if this object is muted - JS. + if (gMuteListp->isMuted(taskid)) return; + LLString script_question; if (questions) { |
