aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-07-08 22:28:17 +0100
committerJustin Clark-Casey (justincc)2011-07-08 22:28:17 +0100
commit5700c582ba3727678dfd87f80dab8d09da88df63 (patch)
treeda69097f1d0b11ffc9bb4db0f4ac5b5a567259b0 /OpenSim/Region/CoreModules/Framework
parentrefactor: eliminate redundant return statement (diff)
downloadopensim-SC_OLD-5700c582ba3727678dfd87f80dab8d09da88df63.zip
opensim-SC_OLD-5700c582ba3727678dfd87f80dab8d09da88df63.tar.gz
opensim-SC_OLD-5700c582ba3727678dfd87f80dab8d09da88df63.tar.bz2
opensim-SC_OLD-5700c582ba3727678dfd87f80dab8d09da88df63.tar.xz
refactor: rename bool returning GetAgentInventoryItem() to CanGetAgentInventoryItem() to improve code readability
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework')
-rw-r--r--OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
index 2930303..f7d187d 100644
--- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
@@ -978,7 +978,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
978 { 978 {
979 } 979 }
980 980
981 public virtual bool GetAgentInventoryItem(IClientAPI remoteClient, UUID itemID, UUID requestID) 981 public virtual bool CanGetAgentInventoryItem(IClientAPI remoteClient, UUID itemID, UUID requestID)
982 { 982 {
983 InventoryItemBase assetRequestItem = GetItem(remoteClient.AgentId, itemID); 983 InventoryItemBase assetRequestItem = GetItem(remoteClient.AgentId, itemID);
984 if (assetRequestItem == null) 984 if (assetRequestItem == null)