aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs9
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 {