diff options
author | Melanie Thielker | 2008-11-21 22:14:57 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-11-21 22:14:57 +0000 |
commit | ba723a4cf65e7a82f5072eaab51dc008f4a2bfd9 (patch) | |
tree | db636daea691f80b0d8bfd3970b8ced36ef9ced0 /OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs | |
parent | * Comment out unused access time method in MSSQL (diff) | |
download | opensim-SC-ba723a4cf65e7a82f5072eaab51dc008f4a2bfd9.zip opensim-SC-ba723a4cf65e7a82f5072eaab51dc008f4a2bfd9.tar.gz opensim-SC-ba723a4cf65e7a82f5072eaab51dc008f4a2bfd9.tar.bz2 opensim-SC-ba723a4cf65e7a82f5072eaab51dc008f4a2bfd9.tar.xz |
Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make all
the internals of the permissions module adapter sane
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs index 0a6f22c..aff1ef1 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs | |||
@@ -230,7 +230,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
230 | // "Starting script {0}, {1} in prim {2}, {3}", | 230 | // "Starting script {0}, {1} in prim {2}, {3}", |
231 | // item.Name, item.ItemID, Name, UUID); | 231 | // item.Name, item.ItemID, Name, UUID); |
232 | 232 | ||
233 | if (!m_part.ParentGroup.Scene.ExternalChecks.ExternalChecksCanRunScript(item.ItemID, m_part.UUID, item.OwnerID)) | 233 | if (!m_part.ParentGroup.Scene.Permissions.CanRunScript(item.ItemID, m_part.UUID, item.OwnerID)) |
234 | return; | 234 | return; |
235 | 235 | ||
236 | m_part.AddFlag(PrimFlags.Scripted); | 236 | m_part.AddFlag(PrimFlags.Scripted); |