summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;