diff options
author | Baker Linden <baker@lindenlab.com> | 2013-10-02 15:47:18 -0700 |
---|---|---|
committer | Baker Linden <baker@lindenlab.com> | 2013-10-02 15:47:18 -0700 |
commit | 25ead22777ff418671ad76eb754f4a199ac766d1 (patch) | |
tree | 0dcf03e632d2f31caf6cc952a9088a897a873138 /indra | |
parent | 1bd75cce8e59145da73540dd331536faa1ca9b17 (diff) |
Added check to ensure the group member has the ability to delete ban entries
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/llpanelgrouproles.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llpanelgrouproles.cpp b/indra/newview/llpanelgrouproles.cpp index 01baedefb7..0be7ee7d05 100755 --- a/indra/newview/llpanelgrouproles.cpp +++ b/indra/newview/llpanelgrouproles.cpp @@ -2815,6 +2815,9 @@ void LLPanelGroupBanListSubTab::handleDeleteBanEntry() can_ban_members = true; } } + + if(!can_ban_members) + return; std::vector<LLUUID> ban_ids; std::vector<LLScrollListItem*>::iterator itor; |