The new secure inventory server mode (in r5590) can now be disabled from OpenSim.ini. Default is to use the new mode.

This commit is contained in:
Johan Berntsson
2008-07-23 09:46:04 +00:00
parent 003487631d
commit ce4bcb5065
6 changed files with 136 additions and 16 deletions

View File

@@ -146,7 +146,14 @@ namespace OpenSim.Framework.Communications.Cache
CachedUserInfo userInfo = GetUserDetails(userID);
if (userInfo != null)
{
m_commsManager.SecureInventoryService.RequestInventoryForUser(userID, userInfo.SessionID, userInfo.InventoryReceive);
if (m_commsManager.SecureInventoryService != null)
{
m_commsManager.SecureInventoryService.RequestInventoryForUser(userID, userInfo.SessionID, userInfo.InventoryReceive);
}
else
{
m_commsManager.InventoryService.RequestInventoryForUser(userID, userInfo.InventoryReceive);
}
//IInventoryServices invService = userInfo.GetInventoryService();
//if (invService != null)
//{