diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 0649a6a2ac..ba41499105 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -1929,8 +1929,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if (userAgent.IndexOf("SecondLife") < 0) return; // Not the embedded browser. Is this check good enough? -/* script owner alts are not script owners - and diferent persons can show us the same ip // Use the IP address of the client and check against the request // seperate logins from the same IP will allow all of them to get non-text/plain as long // as the owner is in the region. Same as SL! @@ -1945,7 +1943,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api // If the request isnt from the same IP address then the request cannot be from the owner if (!requestFromIPAddress.Trim().Equals(logonFromIPAddress.Trim())) return; -*/ + switch (type) { case ScriptBaseClass.CONTENT_TYPE_HTML: