summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorBaker Linden <baker@lindenlab.com>2014-04-29 16:31:09 -0700
committerBaker Linden <baker@lindenlab.com>2014-04-29 16:31:09 -0700
commitc1e27a8dec915d0e42382e7d5a7b52ea542c7ee1 (patch)
treeb54c542e125ed52f79d8974f943aa2240aed8323 /indra/newview
parent810a8a07201018a5be9a4d285dd9235c94ad4778 (diff)
[MAINT-3982] - Eject/Ban button issues
- Ban and Eject buttons should now work properly
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llpanelgrouproles.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llpanelgrouproles.cpp b/indra/newview/llpanelgrouproles.cpp
index 4132d5dfe6..72426ee496 100755
--- a/indra/newview/llpanelgrouproles.cpp
+++ b/indra/newview/llpanelgrouproles.cpp
@@ -993,6 +993,7 @@ void LLPanelGroupMembersSubTab::handleMemberSelect()
{
// Can't remove other owners.
cb_enable = FALSE;
+ can_ban_members = FALSE;
break;
}
}
@@ -1078,7 +1079,7 @@ void LLPanelGroupMembersSubTab::handleMemberSelect()
if (gAgent.isGodlike())
{
can_eject_members = TRUE;
- can_ban_members = TRUE;
+ // can_ban_members = TRUE;
}
if (!can_eject_members && !member_is_owner)
@@ -1092,7 +1093,7 @@ void LLPanelGroupMembersSubTab::handleMemberSelect()
if ( member_data && member_data->isInRole(gdatap->mOwnerRole) )
{
can_eject_members = TRUE;
- can_ban_members = TRUE;
+ //can_ban_members = TRUE;
}
}