diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index f9b90c5..d69551f 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -3463,7 +3463,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3463 | INPCModule npcModule = World.RequestModuleInterface<INPCModule>(); | 3463 | INPCModule npcModule = World.RequestModuleInterface<INPCModule>(); |
3464 | if (npcModule != null && npcModule.IsNPC(agentID, World)) | 3464 | if (npcModule != null && npcModule.IsNPC(agentID, World)) |
3465 | { | 3465 | { |
3466 | if (agentID == m_host.ParentGroup.OwnerID || npcModule.GetOwner(agentID) == m_host.ParentGroup.OwnerID) | 3466 | if (npcModule.CheckPermissions(agentID, m_host.OwnerID)) |
3467 | { | 3467 | { |
3468 | lock (m_host.TaskInventory) | 3468 | lock (m_host.TaskInventory) |
3469 | { | 3469 | { |