Fix config so that you can have both WebFetchInventoryDescendents and FetchInvnetoryDescendents2 caps active at once

iar_mods
Justin Clark-Casey (justincc) 2011-11-25 23:45:29 +00:00
parent 5b4fe23f7f
commit 95a686dbf5
1 changed files with 2 additions and 1 deletions

View File

@ -121,7 +121,8 @@ namespace OpenSim.Region.ClientStack.Linden
{
if (m_webFetchInventoryDescendentsUrl != "")
RegisterFetchCap(agentID, caps, "WebFetchInventoryDescendents", m_webFetchInventoryDescendentsUrl);
else if (m_fetchInventoryDescendents2Url != "")
if (m_fetchInventoryDescendents2Url != "")
RegisterFetchCap(agentID, caps, "FetchInventoryDescendents2", m_fetchInventoryDescendents2Url);
}