summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xindra/newview/llgroupmgr.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/indra/newview/llgroupmgr.cpp b/indra/newview/llgroupmgr.cpp
index 50e3ab6dd8..98036f3a20 100755
--- a/indra/newview/llgroupmgr.cpp
+++ b/indra/newview/llgroupmgr.cpp
@@ -1888,16 +1888,12 @@ void GroupBanDataResponder::httpFailure()
void GroupBanDataResponder::httpSuccess()
{
- if ( mContent.size())
+ if (mContent.has("ban_list"))
{
- if (mContent.has("ban_list"))
- {
- // group ban data received
- LLGroupMgr::processGroupBanRequest(mContent);
- mForceRefresh = false;
- }
+ // group ban data received
+ LLGroupMgr::processGroupBanRequest(mContent);
}
- if (mForceRefresh)
+ else if (mForceRefresh)
{
// no ban data received, refreshing data after successful operation
LLGroupMgr::getInstance()->sendGroupBanRequest(LLGroupMgr::REQUEST_GET, mGroupID);