From d1b24736876a1d82bd53db3bd2d66a7491023314 Mon Sep 17 00:00:00 2001 From: Kitty Barnett Date: Thu, 21 Jul 2016 14:37:08 +0200 Subject: [PATCH] [FIXED] Using reverse logic isn't always a terribly good idea --HG-- branch : RLVa --- indra/newview/llavataractions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llavataractions.cpp b/indra/newview/llavataractions.cpp index fc5809827f..be5709e957 100755 --- a/indra/newview/llavataractions.cpp +++ b/indra/newview/llavataractions.cpp @@ -465,7 +465,7 @@ void LLAvatarActions::teleport_request_callback(const LLSD& notification, const std::string strMessage = response["message"]; // Filter the request message if the recipients is IM-blocked - if ( (!RlvActions::isRlvEnabled()) || ((RlvActions::canStartIM(idRecipient)) && (RlvActions::canSendIM(idRecipient))) ) + if ( (RlvActions::isRlvEnabled()) && ((!RlvActions::canStartIM(idRecipient)) || (!RlvActions::canSendIM(idRecipient))) ) { strMessage = RlvStrings::getString(RLV_STRING_HIDDEN); }