diff options
author | Justin Clark-Casey (justincc) | 2012-01-12 19:06:46 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-01-12 19:06:46 +0000 |
commit | ba3491c76e2d7cc7187a025dccd782790929f0b7 (patch) | |
tree | da28906958e7a557b8fd3f7b8cf86fe1a80d50f7 /OpenSim/Region/Framework | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-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.cs | 2 |
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 |