summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorBaker Linden <baker@lindenlab.com>2013-10-02 15:47:18 -0700
committerBaker Linden <baker@lindenlab.com>2013-10-02 15:47:18 -0700
commit25ead22777ff418671ad76eb754f4a199ac766d1 (patch)
tree0dcf03e632d2f31caf6cc952a9088a897a873138 /indra
parent1bd75cce8e59145da73540dd331536faa1ca9b17 (diff)
Added check to ensure the group member has the ability to delete ban entries
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llpanelgrouproles.cpp3
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;