aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-01-12 19:06:46 +0000
committerJustin Clark-Casey (justincc)2012-01-12 19:06:46 +0000
commitba3491c76e2d7cc7187a025dccd782790929f0b7 (patch)
treeda28906958e7a557b8fd3f7b8cf86fe1a80d50f7 /OpenSim/Region/Framework
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-SC_OLD-ba3491c76e2d7cc7187a025dccd782790929f0b7.zip
opensim-SC_OLD-ba3491c76e2d7cc7187a025dccd782790929f0b7.tar.gz
opensim-SC_OLD-ba3491c76e2d7cc7187a025dccd782790929f0b7.tar.bz2
opensim-SC_OLD-ba3491c76e2d7cc7187a025dccd782790929f0b7.tar.xz
Add permissions checks for owned avatars to all other osNpc* functions.
This is being done outside the npc module since the check is meaningless for region module callers, who can fake any id that they like.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Interfaces/INPCModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/INPCModule.cs b/OpenSim/Region/Framework/Interfaces/INPCModule.cs
index 3ec1bda..c50e734 100644
--- a/OpenSim/Region/Framework/Interfaces/INPCModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/INPCModule.cs
@@ -125,7 +125,7 @@ namespace OpenSim.Region.Framework.Interfaces
125 /// <param name="agentID">The UUID of the NPC</param> 125 /// <param name="agentID">The UUID of the NPC</param>
126 /// <param name="scene"></param> 126 /// <param name="scene"></param>
127 /// <returns>True if the operation succeeded, false if there was no such agent or the agent was not an NPC</returns> 127 /// <returns>True if the operation succeeded, false if there was no such agent or the agent was not an NPC</returns>
128 bool DeleteNPC(UUID agentID, UUID CallerID, Scene scene); 128 bool DeleteNPC(UUID agentID, Scene scene);
129 129
130 /// <summary> 130 /// <summary>
131 /// Get the owner of a NPC 131 /// Get the owner of a NPC