diff options
author | Jeff Ames | 2007-11-18 13:50:46 +0000 |
---|---|---|
committer | Jeff Ames | 2007-11-18 13:50:46 +0000 |
commit | d10c79d4216436fd2a5056dbf853f317967202af (patch) | |
tree | 2474bfe5d0f56f624a19ff112807233e5e335f08 /OpenSim/Framework/Communications/Cache/UserProfileCache.cs | |
parent | * Found several cases where prim set physical were not subscribing to physics... (diff) | |
download | opensim-SC-d10c79d4216436fd2a5056dbf853f317967202af.zip opensim-SC-d10c79d4216436fd2a5056dbf853f317967202af.tar.gz opensim-SC-d10c79d4216436fd2a5056dbf853f317967202af.tar.bz2 opensim-SC-d10c79d4216436fd2a5056dbf853f317967202af.tar.xz |
first stab at implementation of CopyInventoryItem
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/UserProfileCache.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/UserProfileCache.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/Cache/UserProfileCache.cs b/OpenSim/Framework/Communications/Cache/UserProfileCache.cs index 74b2440..117ed36 100644 --- a/OpenSim/Framework/Communications/Cache/UserProfileCache.cs +++ b/OpenSim/Framework/Communications/Cache/UserProfileCache.cs | |||
@@ -74,7 +74,10 @@ namespace OpenSim.Framework.Communications.Cache | |||
74 | 74 | ||
75 | public CachedUserInfo GetUserDetails(LLUUID userID) | 75 | public CachedUserInfo GetUserDetails(LLUUID userID) |
76 | { | 76 | { |
77 | return m_userProfiles[userID]; | 77 | if (m_userProfiles.ContainsKey(userID)) |
78 | return m_userProfiles[userID]; | ||
79 | else | ||
80 | return null; | ||
78 | } | 81 | } |
79 | 82 | ||
80 | public void HandleCreateInventoryFolder(IClientAPI remoteClient, LLUUID folderID, ushort folderType, | 83 | public void HandleCreateInventoryFolder(IClientAPI remoteClient, LLUUID folderID, ushort folderType, |