diff options
author | Melanie Thielker | 2008-09-23 03:49:07 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-09-23 03:49:07 +0000 |
commit | 525f66b6f10156dc437835e63f7eee86cb73d43e (patch) | |
tree | 07e159c250e062fde76d9b9b38dd39f6f2173075 /OpenSim | |
parent | Update the permissions system to handle scripts and notecards the way (diff) | |
download | opensim-SC_OLD-525f66b6f10156dc437835e63f7eee86cb73d43e.zip opensim-SC_OLD-525f66b6f10156dc437835e63f7eee86cb73d43e.tar.gz opensim-SC_OLD-525f66b6f10156dc437835e63f7eee86cb73d43e.tar.bz2 opensim-SC_OLD-525f66b6f10156dc437835e63f7eee86cb73d43e.tar.xz |
Small fix to eliminate a beauty spot
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs | 2 |
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; |