*Added CanRunScript to SceneExternalChecks

0.6.0-stable
mingchen 2008-05-07 17:44:48 +00:00
parent 6551f17966
commit d8e33ec914
1 changed files with 2 additions and 0 deletions

View File

@ -579,6 +579,8 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
public virtual bool CanRunScript(LLUUID user, LLUUID script)
{
//External Checks!
if (!m_scene.ExternalChecks.ExternalChecksCanRunScript(script, user)) return false;
return IsAdministrator(user);
}