diff options
-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; |