From d8e33ec9143859928cdbfb691cbd00c4a01a2b96 Mon Sep 17 00:00:00 2001 From: mingchen Date: Wed, 7 May 2008 17:44:48 +0000 Subject: *Added CanRunScript to SceneExternalChecks --- .../Region/Environment/Modules/World/Permissions/PermissionsModule.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenSim') diff --git a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs index 5203b94..87c0027 100644 --- a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs +++ b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs @@ -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); } -- cgit v1.1