summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2014-06-23 13:25:17 +0300
committerandreykproductengine <akleshchev@productengine.com>2014-06-23 13:25:17 +0300
commit845b80a3864093ebed940551d91441e45e4b50b9 (patch)
treebc0ec0b29335cf6de53e6a20742e5f714654b9f5
parenta7db93cb698d81ea5005ed4be453fbddd65e0cc0 (diff)
MAINT-4182 Cleaning up
-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);