aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-11-13 20:52:06 +0000
committerJustin Clarke Casey2008-11-13 20:52:06 +0000
commit1fd32a5ab2a60cde1e863fe384383d6c8e40cf4c (patch)
treea992ec75370b17c6b5950e346b6154d444eb6e24 /OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
parent* Add (diff)
downloadopensim-SC-1fd32a5ab2a60cde1e863fe384383d6c8e40cf4c.zip
opensim-SC-1fd32a5ab2a60cde1e863fe384383d6c8e40cf4c.tar.gz
opensim-SC-1fd32a5ab2a60cde1e863fe384383d6c8e40cf4c.tar.bz2
opensim-SC-1fd32a5ab2a60cde1e863fe384383d6c8e40cf4c.tar.xz
* Rename all the previous methods to be User rather than Avatar (for extra bonus points)
public bool ExternalChecksCanCreateUserInventory(int invType, UUID userID) public bool ExternalChecksCanCopyUserInventory(UUID itemID, UUID userID) public bool ExternalChecksCanCopyUserInventory(UUID itemID, UUID userID) public bool ExternalChecksCanDeleteUserInventory(UUID itemID, UUID userID)
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.Inventory.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
index e548f36..12095e5 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
@@ -761,7 +761,7 @@ namespace OpenSim.Region.Environment.Scenes
761 { 761 {
762 m_log.DebugFormat("[AGENT INVENTORY]: Received request to create inventory item {0} in folder {1}", name, folderID); 762 m_log.DebugFormat("[AGENT INVENTORY]: Received request to create inventory item {0} in folder {1}", name, folderID);
763 763
764 if (!ExternalChecks.ExternalChecksCanCreateAvatarInventory(invType, remoteClient.AgentId)) 764 if (!ExternalChecks.ExternalChecksCanCreateUserInventory(invType, remoteClient.AgentId))
765 return; 765 return;
766 766
767 if (transactionID == UUID.Zero) 767 if (transactionID == UUID.Zero)