From 0719ffa6fab128352868b65a4ec48e40357ecc5f Mon Sep 17 00:00:00 2001 From: Melanie Date: Tue, 1 Mar 2011 23:34:02 +0100 Subject: [PATCH] Change protection from being teleported home to extend to incognito gods. --- .../Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index a62a7b4adb..559523b86b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -4486,7 +4486,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if (presence != null) { // agent must not be a god - if (presence.GodLevel >= 200) return; + if (presence.UserLevel >= 200) return; // agent must be over the owners land if (m_host.OwnerID == World.LandChannel.GetLandObject(