[FIXED] Invalid check for @shownames exception on object chat

-> thanks to Drake Arconis for reporting

--HG--
branch : RLVa
meow-7.2.2
Kitty Barnett 2016-12-03 20:08:47 +01:00
parent 34ab06b6a8
commit 7417f8e7bd
1 changed files with 1 additions and 1 deletions

View File

@ -3920,7 +3920,7 @@ void process_chat_from_simulator(LLMessageSystem *msg, void **user_data)
sdQuery["name"] = chat.mFromName;
sdQuery["owner"] = owner_id;
if ( (!RlvActions::canShowName(RlvActions::SNC_COUNT, owner_id)) && (!is_owned_by_me) )
if ( (!RlvActions::canShowName(RlvActions::SNC_DEFAULT, owner_id)) && (!is_owned_by_me) )
sdQuery["rlv_shownames"] = true;
const LLViewerRegion* pRegion = LLWorld::getInstance()->getRegionFromPosAgent(chat.mPosAgent);