aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llnetmap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llnetmap.cpp')
-rw-r--r--linden/indra/newview/llnetmap.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llnetmap.cpp b/linden/indra/newview/llnetmap.cpp
index 1f6f6bd..c1a25f9 100644
--- a/linden/indra/newview/llnetmap.cpp
+++ b/linden/indra/newview/llnetmap.cpp
@@ -367,7 +367,7 @@ void LLNetMap::draw()
367 } 367 }
368 368
369// [RLVa:KB] 369// [RLVa:KB]
370 if ( !gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES) ) 370 if ( rlv_handler_t::isEnabled() && !gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES) )
371 { 371 {
372 // User is not allowed to see who it is, or even if it's a friend, 372 // User is not allowed to see who it is, or even if it's a friend,
373 // due to RLV settings. 373 // due to RLV settings.
@@ -575,7 +575,7 @@ BOOL LLNetMap::handleToolTip( S32 x, S32 y, std::string& msg, LLRect* sticky_rec
575 if(mClosestAgentToCursor.notNull() && gCacheName->getFullName(mClosestAgentToCursor, fullname)) 575 if(mClosestAgentToCursor.notNull() && gCacheName->getFullName(mClosestAgentToCursor, fullname))
576 { 576 {
577// [RLVa:KB] 577// [RLVa:KB]
578 if ( !gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES) ) 578 if ( rlv_handler_t::isEnabled() && !gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES) )
579 { 579 {
580 // User is not allowed to see who it is, due to RLV settings. 580 // User is not allowed to see who it is, due to RLV settings.
581 msg.append(rlv_handler_t::cstrHidden); 581 msg.append(rlv_handler_t::cstrHidden);
@@ -589,7 +589,7 @@ BOOL LLNetMap::handleToolTip( S32 x, S32 y, std::string& msg, LLRect* sticky_rec
589 } 589 }
590 590
591// [RLVa:KB] 591// [RLVa:KB]
592 if (!gRlvHandler.hasBehaviour(RLV_BHVR_SHOWLOC)) 592 if (rlv_handler_t::isEnabled() && !gRlvHandler.hasBehaviour(RLV_BHVR_SHOWLOC))
593 { 593 {
594 // User is not allowed to see where they are, due to RLV settings. 594 // User is not allowed to see where they are, due to RLV settings.
595 msg.append( rlv_handler_t::cstrHidden ); 595 msg.append( rlv_handler_t::cstrHidden );