diff options
author | Johan Berntsson | 2008-07-23 09:46:04 +0000 |
---|---|---|
committer | Johan Berntsson | 2008-07-23 09:46:04 +0000 |
commit | ce4bcb50655e69277eac64a6d3ab520d669e6b70 (patch) | |
tree | 55391a649d22a534260553dabf47791f4bc650b0 /OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs | |
parent | Fix issue 1760. If the inventory item is not found, llSay() and throw an exce... (diff) | |
download | opensim-SC-ce4bcb50655e69277eac64a6d3ab520d669e6b70.zip opensim-SC-ce4bcb50655e69277eac64a6d3ab520d669e6b70.tar.gz opensim-SC-ce4bcb50655e69277eac64a6d3ab520d669e6b70.tar.bz2 opensim-SC-ce4bcb50655e69277eac64a6d3ab520d669e6b70.tar.xz |
The new secure inventory server mode (in r5590) can now be disabled from OpenSim.ini. Default is to use the new mode.
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs index e22dff6..d6421b0 100644 --- a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs +++ b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs | |||
@@ -146,7 +146,14 @@ namespace OpenSim.Framework.Communications.Cache | |||
146 | CachedUserInfo userInfo = GetUserDetails(userID); | 146 | CachedUserInfo userInfo = GetUserDetails(userID); |
147 | if (userInfo != null) | 147 | if (userInfo != null) |
148 | { | 148 | { |
149 | m_commsManager.SecureInventoryService.RequestInventoryForUser(userID, userInfo.SessionID, userInfo.InventoryReceive); | 149 | if (m_commsManager.SecureInventoryService != null) |
150 | { | ||
151 | m_commsManager.SecureInventoryService.RequestInventoryForUser(userID, userInfo.SessionID, userInfo.InventoryReceive); | ||
152 | } | ||
153 | else | ||
154 | { | ||
155 | m_commsManager.InventoryService.RequestInventoryForUser(userID, userInfo.InventoryReceive); | ||
156 | } | ||
150 | //IInventoryServices invService = userInfo.GetInventoryService(); | 157 | //IInventoryServices invService = userInfo.GetInventoryService(); |
151 | //if (invService != null) | 158 | //if (invService != null) |
152 | //{ | 159 | //{ |