[FIXED] Using reverse logic isn't always a terribly good idea
--HG-- branch : RLVameow-7.2.2
parent
3774b2eda6
commit
d1b2473687
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue