diff options
author | UbitUmarov | 2019-10-19 09:59:15 +0100 |
---|---|---|
committer | UbitUmarov | 2019-10-19 09:59:26 +0100 |
commit | 24b1e84ecad28a74565163957d0e9ba1a58d55ec (patch) | |
tree | 6fd02ca163ac845e2172bc13b81470118d4b14d4 /OpenSim/Region | |
parent | Xengine: more on division by Zero (diff) | |
download | opensim-SC-24b1e84ecad28a74565163957d0e9ba1a58d55ec.zip opensim-SC-24b1e84ecad28a74565163957d0e9ba1a58d55ec.tar.gz opensim-SC-24b1e84ecad28a74565163957d0e9ba1a58d55ec.tar.bz2 opensim-SC-24b1e84ecad28a74565163957d0e9ba1a58d55ec.tar.xz |
change osSetDynamicTextureURL(Blend) to ThreatLevel.VeryHigh,ESTATE_MANAGER,ESTATE_OWNER
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 641975a..d82d661 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -753,7 +753,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
753 | 753 | ||
754 | public void osSetRot(UUID target, Quaternion rotation) | 754 | public void osSetRot(UUID target, Quaternion rotation) |
755 | { | 755 | { |
756 | // This function has no security. It can be used to destroy | 756 | // if enabled It can be used to destroy |
757 | // arbitrary builds the user would normally have no rights to | 757 | // arbitrary builds the user would normally have no rights to |
758 | // | 758 | // |
759 | CheckThreatLevel(ThreatLevel.VeryHigh, "osSetRot"); | 759 | CheckThreatLevel(ThreatLevel.VeryHigh, "osSetRot"); |
@@ -778,10 +778,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
778 | public string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams, | 778 | public string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams, |
779 | int timer) | 779 | int timer) |
780 | { | 780 | { |
781 | // This may be upgraded depending on the griefing or DOS | 781 | CheckThreatLevel(ThreatLevel.VeryHigh, "osSetDynamicTextureURL"); |
782 | // potential, or guarded with a delay | ||
783 | // | ||
784 | CheckThreatLevel(ThreatLevel.VeryLow, "osSetDynamicTextureURL"); | ||
785 | 782 | ||
786 | if (dynamicID == String.Empty) | 783 | if (dynamicID == String.Empty) |
787 | { | 784 | { |
@@ -802,7 +799,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
802 | public string osSetDynamicTextureURLBlend(string dynamicID, string contentType, string url, string extraParams, | 799 | public string osSetDynamicTextureURLBlend(string dynamicID, string contentType, string url, string extraParams, |
803 | int timer, int alpha) | 800 | int timer, int alpha) |
804 | { | 801 | { |
805 | CheckThreatLevel(ThreatLevel.VeryLow, "osSetDynamicTextureURLBlend"); | 802 | CheckThreatLevel(ThreatLevel.VeryHigh, "osSetDynamicTextureURLBlend"); |
806 | 803 | ||
807 | if (dynamicID == String.Empty) | 804 | if (dynamicID == String.Empty) |
808 | { | 805 | { |