diff options
author | Baker Linden <baker@lindenlab.com> | 2014-04-29 16:31:09 -0700 |
---|---|---|
committer | Baker Linden <baker@lindenlab.com> | 2014-04-29 16:31:09 -0700 |
commit | c1e27a8dec915d0e42382e7d5a7b52ea542c7ee1 (patch) | |
tree | b54c542e125ed52f79d8974f943aa2240aed8323 /indra/newview | |
parent | 810a8a07201018a5be9a4d285dd9235c94ad4778 (diff) |
[MAINT-3982] - Eject/Ban button issues
- Ban and Eject buttons should now work properly
Diffstat (limited to 'indra/newview')
-rwxr-xr-x | indra/newview/llpanelgrouproles.cpp | 5 |
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; } } |