diff options
Diffstat (limited to 'linden/indra/newview/llviewermessage.cpp')
-rw-r--r-- | linden/indra/newview/llviewermessage.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp index 8f2fc1a..d9e2927 100644 --- a/linden/indra/newview/llviewermessage.cpp +++ b/linden/indra/newview/llviewermessage.cpp | |||
@@ -2268,6 +2268,7 @@ void process_chat_from_simulator(LLMessageSystem *msg, void **user_data) | |||
2268 | } | 2268 | } |
2269 | break; | 2269 | break; |
2270 | case CHAT_TYPE_DEBUG_MSG: | 2270 | case CHAT_TYPE_DEBUG_MSG: |
2271 | case CHAT_TYPE_OWNER: | ||
2271 | case CHAT_TYPE_NORMAL: | 2272 | case CHAT_TYPE_NORMAL: |
2272 | verb = ": "; | 2273 | verb = ": "; |
2273 | break; | 2274 | break; |
@@ -2573,7 +2574,7 @@ void process_teleport_finish(LLMessageSystem* msg, void**) | |||
2573 | msg->getStringFast(_PREHASH_Info, _PREHASH_SeedCapability, | 2574 | msg->getStringFast(_PREHASH_Info, _PREHASH_SeedCapability, |
2574 | STD_STRING_BUF_SIZE, seedCap); | 2575 | STD_STRING_BUF_SIZE, seedCap); |
2575 | 2576 | ||
2576 | // update home location if we are teleporting out of prelude | 2577 | // update home location if we are teleporting out of prelude - specific to teleporting to welcome area |
2577 | if((teleport_flags & TELEPORT_FLAGS_SET_HOME_TO_TARGET) | 2578 | if((teleport_flags & TELEPORT_FLAGS_SET_HOME_TO_TARGET) |
2578 | && (!gAgent.isGodlike())) | 2579 | && (!gAgent.isGodlike())) |
2579 | { | 2580 | { |
@@ -4277,6 +4278,8 @@ void notify_cautioned_script_question(LLScriptQuestionCBData* cbdata, S32 orig_q | |||
4277 | // only continue if at least some permissions were requested | 4278 | // only continue if at least some permissions were requested |
4278 | if (orig_questions) | 4279 | if (orig_questions) |
4279 | { | 4280 | { |
4281 | // check to see if the person we are asking | ||
4282 | |||
4280 | // "'[OBJECTNAME]', an object owned by '[OWNERNAME]', | 4283 | // "'[OBJECTNAME]', an object owned by '[OWNERNAME]', |
4281 | // located in [REGIONNAME] at [REGIONPOS], | 4284 | // located in [REGIONNAME] at [REGIONPOS], |
4282 | // has been <granted|denied> permission to: [PERMISSIONS]." | 4285 | // has been <granted|denied> permission to: [PERMISSIONS]." |
@@ -4440,6 +4443,9 @@ void process_script_question(LLMessageSystem *msg, void **user_data) | |||
4440 | msg->getStringFast(_PREHASH_Data, _PREHASH_ObjectOwner, DB_FULL_NAME_BUF_SIZE, owner_name); | 4443 | msg->getStringFast(_PREHASH_Data, _PREHASH_ObjectOwner, DB_FULL_NAME_BUF_SIZE, owner_name); |
4441 | msg->getS32Fast(_PREHASH_Data, _PREHASH_Questions, questions ); | 4444 | msg->getS32Fast(_PREHASH_Data, _PREHASH_Questions, questions ); |
4442 | 4445 | ||
4446 | // don't display permission requests if this object is muted - JS. | ||
4447 | if (gMuteListp->isMuted(taskid)) return; | ||
4448 | |||
4443 | LLString script_question; | 4449 | LLString script_question; |
4444 | if (questions) | 4450 | if (questions) |
4445 | { | 4451 | { |