mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
fix osRequest*URL return type and threat level name
This commit is contained in:
@@ -4630,9 +4630,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
}
|
||||
}
|
||||
|
||||
public LSL_String osRequestURL(LSL_List options)
|
||||
public LSL_Key osRequestURL(LSL_List options)
|
||||
{
|
||||
CheckThreatLevel(ThreatLevel.Moderate, "osRequestSecureURL");
|
||||
CheckThreatLevel(ThreatLevel.Moderate, "osRequestURL");
|
||||
|
||||
Hashtable opts = new Hashtable();
|
||||
for (int i = 0 ; i < options.Length ; i++)
|
||||
@@ -4647,7 +4647,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
return ScriptBaseClass.NULL_KEY;
|
||||
}
|
||||
|
||||
public LSL_String osRequestSecureURL(LSL_List options)
|
||||
public LSL_Key osRequestSecureURL(LSL_List options)
|
||||
{
|
||||
CheckThreatLevel(ThreatLevel.Moderate, "osRequestSecureURL");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user