diff options
| author | AndreyL ProductEngine <alihatskiy@productengine.com> | 2015-12-11 20:06:35 +0200 | 
|---|---|---|
| committer | AndreyL ProductEngine <alihatskiy@productengine.com> | 2015-12-11 20:06:35 +0200 | 
| commit | c19a24f2f6092a52fffc04e38a070aec15a3fc20 (patch) | |
| tree | d035bb6fe833f71303b3ccb932964fb3f0e20603 | |
| parent | aa42870d5ad1edc9ea33c62c5bf66e84375c3b0e (diff) | |
MAINT-5879 Block incoming blind teleport requests from non-friends
| -rwxr-xr-x | indra/newview/llviewermessage.cpp | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 6ba10373b9..49886b5e4f 100755 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -3061,6 +3061,10 @@ void process_improved_im(LLMessageSystem *msg, void **user_data)  			{  				send_do_not_disturb_message(msg, from_id);  			} +			else if (gSavedSettings.getBOOL("VoiceCallsFriendsOnly") && (LLAvatarTracker::instance().getBuddyInfo(from_id) == NULL)) +			{ +				return; +			}  			else  			{  				LLVector3 pos, look_at; | 
