diff options
author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2015-02-18 17:58:43 +0200 |
---|---|---|
committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2015-02-18 17:58:43 +0200 |
commit | 15c613cbc2ba52efa2783e9cf599b7b843c6d383 (patch) | |
tree | 101c9f8e4a37668adb4c59b747240b3cc40d51ce /indra | |
parent | f00e3f41aba03b901c86f7a0eceff72d284c76b9 (diff) |
MAINT-4242 FIXED Just clear ban list before populating it with new data.
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/llgroupmgr.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llgroupmgr.cpp b/indra/newview/llgroupmgr.cpp index 56e671d902..86f9da6318 100755 --- a/indra/newview/llgroupmgr.cpp +++ b/indra/newview/llgroupmgr.cpp @@ -1970,7 +1970,8 @@ void LLGroupMgr::processGroupBanRequest(const LLSD& content) LLGroupMgrGroupData* gdatap = LLGroupMgr::getInstance()->getGroupData(group_id); if (!gdatap) return; - + + gdatap->clearBanList(); LLSD::map_const_iterator i = content["ban_list"].beginMap(); LLSD::map_const_iterator iEnd = content["ban_list"].endMap(); for(;i != iEnd; ++i) |