aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie Thielker2008-09-23 03:49:07 +0000
committerMelanie Thielker2008-09-23 03:49:07 +0000
commit525f66b6f10156dc437835e63f7eee86cb73d43e (patch)
tree07e159c250e062fde76d9b9b38dd39f6f2173075
parentUpdate the permissions system to handle scripts and notecards the way (diff)
downloadopensim-SC-525f66b6f10156dc437835e63f7eee86cb73d43e.zip
opensim-SC-525f66b6f10156dc437835e63f7eee86cb73d43e.tar.gz
opensim-SC-525f66b6f10156dc437835e63f7eee86cb73d43e.tar.bz2
opensim-SC-525f66b6f10156dc437835e63f7eee86cb73d43e.tar.xz
Small fix to eliminate a beauty spot
-rw-r--r--OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
index fbdae85..9ce6a77 100644
--- a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
@@ -655,7 +655,7 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
655 InventoryItemBase assetRequestItem = userInfo.RootFolder.FindItem(notecard); 655 InventoryItemBase assetRequestItem = userInfo.RootFolder.FindItem(notecard);
656 if (assetRequestItem == null) // Library item 656 if (assetRequestItem == null) // Library item
657 { 657 {
658 assetRequestItem = m_scene.CommsManager.UserProfileCacheService.LibraryRoot.FindItem(notecard); 658 assetRequestItem = scene.CommsManager.UserProfileCacheService.LibraryRoot.FindItem(notecard);
659 659
660 if (assetRequestItem != null) // Implicitly readable 660 if (assetRequestItem != null) // Implicitly readable
661 return true; 661 return true;