Spot-fix the CAPS issue preventing UseHTTPInventory debug setting from working.

This commit is contained in:
Melanie
2013-05-01 02:29:34 +02:00
parent fc183be845
commit bdb74add3c

View File

@@ -247,6 +247,14 @@ public:
LLSD::map_const_iterator iter;
for(iter = content.beginMap(); iter != content.endMap(); ++iter)
{
if (!gSavedSettings.getBOOL("UseHTTPInventory"))
{
if (iter->first == "FetchLib2" ||
iter->first == "FetchLibDescendents2" ||
iter->first == "FetchInventory2" ||
iter->first == "FetchInventoryDescendents2")
continue;
}
regionp->setCapability(iter->first, iter->second);
LL_DEBUGS2("AppInit", "Capabilities") << "got capability for "
<< iter->first << LL_ENDL;