Mantis#1700. Thank you, Melanie for a patch that:

Lets osSetParcelMediaTime honor the AllowOSComamnds setting
0.6.0-stable
Charles Krinke 2008-07-09 14:32:21 +00:00
parent 58ce018625
commit 9f68bcd80b
1 changed files with 8 additions and 0 deletions

View File

@ -586,6 +586,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
//for testing purposes only
public void osSetParcelMediaTime(double time)
{
if (!m_ScriptEngine.Config.GetBoolean("AllowOSFunctions", false))
{
OSSLError("osSetParcelMediaTime: permission denied");
return;
}
m_host.AddScriptLPS(1);
World.ParcelMediaSetTime((float)time);
}
}