diff --git a/indra/newview/rlvhelper.cpp b/indra/newview/rlvhelper.cpp index 2429cd3769d4ecb48a9ed4419f943d78fbbb1305..0b73a6faae0b211fe6f51a37b87cbf779ed6d249 100644 --- a/indra/newview/rlvhelper.cpp +++ b/indra/newview/rlvhelper.cpp @@ -451,7 +451,7 @@ ERlvBehaviour RlvBehaviourDictionary::getBehaviourFromString(const std::string& ERlvLocalBhvrModifier eBhvrModifier; const RlvBehaviourInfo* pBhvrInfo = getBehaviourInfo(strBhvr, eParamType, pfStrict, &eBhvrModifier); // Filter out locally scoped modifier commands since they don't actually have a unique behaviour value of their own - return (pBhvrInfo && ERlvLocalBhvrModifier::Unknown != eBhvrModifier) ? pBhvrInfo->getBehaviourType() : RLV_BHVR_UNKNOWN; + return (pBhvrInfo && ERlvLocalBhvrModifier::Unknown == eBhvrModifier) ? pBhvrInfo->getBehaviourType() : RLV_BHVR_UNKNOWN; } bool RlvBehaviourDictionary::getCommands(const std::string& strMatch, ERlvParamType eParamType, std::list<std::string>& cmdList) const