diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Friends/CallingCardModule.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/CallingCardModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/CallingCardModule.cs index 5ec0ea9..eb23e83 100644 --- a/OpenSim/Region/CoreModules/Avatar/Friends/CallingCardModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Friends/CallingCardModule.cs | |||
@@ -36,6 +36,7 @@ using OpenSim.Region.Framework.Interfaces; | |||
36 | using OpenSim.Region.Framework.Scenes; | 36 | using OpenSim.Region.Framework.Scenes; |
37 | using OpenSim.Services.Interfaces; | 37 | using OpenSim.Services.Interfaces; |
38 | using Mono.Addins; | 38 | using Mono.Addins; |
39 | using PermissionMask = OpenSim.Framework.PermissionMask; | ||
39 | 40 | ||
40 | namespace OpenSim.Region.CoreModules.Avatar.Friends | 41 | namespace OpenSim.Region.CoreModules.Avatar.Friends |
41 | { | 42 | { |
@@ -180,7 +181,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends | |||
180 | if (folderID == UUID.Zero) | 181 | if (folderID == UUID.Zero) |
181 | { | 182 | { |
182 | InventoryFolderBase folder = inv.GetFolderForType(userID, | 183 | InventoryFolderBase folder = inv.GetFolderForType(userID, |
183 | AssetType.CallingCard); | 184 | FolderType.CallingCard); |
184 | 185 | ||
185 | if (folder == null) // Nowhere to put it | 186 | if (folder == null) // Nowhere to put it |
186 | return UUID.Zero; | 187 | return UUID.Zero; |
@@ -236,7 +237,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends | |||
236 | IInventoryService invService = m_Scenes[0].InventoryService; | 237 | IInventoryService invService = m_Scenes[0].InventoryService; |
237 | 238 | ||
238 | InventoryFolderBase trashFolder = | 239 | InventoryFolderBase trashFolder = |
239 | invService.GetFolderForType(client.AgentId, AssetType.TrashFolder); | 240 | invService.GetFolderForType(client.AgentId, FolderType.Trash); |
240 | 241 | ||
241 | InventoryItemBase item = new InventoryItemBase(transactionID, client.AgentId); | 242 | InventoryItemBase item = new InventoryItemBase(transactionID, client.AgentId); |
242 | item = invService.GetItem(item); | 243 | item = invService.GetItem(item); |