summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-06-08 19:05:33 -0700
committerTodd Stinson <stinson@lindenlab.com>2012-06-08 19:05:33 -0700
commit047ff479b7c87a80121c34c04137c113c7a02203 (patch)
treea872f3d34ba40ed2414281c36c0be7aaad2fabf2 /indra/newview/llviewermessage.cpp
parent68c3d1bb2ef19550d1549342b4bd597938c473b7 (diff)
EXP-1953: Sending an automated IM back to the user who offered the teleport lure informing the inviter that the guest cannot access the region because of their maturity level.
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rwxr-xr-xindra/newview/llviewermessage.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index 7891e98cff..be76b72891 100755
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -2990,6 +2990,7 @@ void process_improved_im(LLMessageSystem *msg, void **user_data)
params.substitutions = args;
params.payload = payload;
LLPostponedNotification::add<LLPostponedOfferNotification>( params, from_id, false);
+ send_simple_im(from_id, LLTrans::getString("TeleportMaturityExceeded"), IM_NOTHING_SPECIAL, session_id);
}
else if (doesUserRequireMaturityIncrease)
{
@@ -3083,6 +3084,7 @@ void process_improved_im(LLMessageSystem *msg, void **user_data)
params.substitutions = args;
params.payload = payload;
LLPostponedNotification::add<LLPostponedOfferNotification>( params, from_id, false);
+ send_simple_im(from_id, LLTrans::getString("TeleportMaturityExceeded"), IM_NOTHING_SPECIAL, session_id);
}
else if (doesUserRequireMaturityIncrease)
{