diff options
*Added CanRunScript to SceneExternalChecks
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs | 2 |
1 files changed, 2 insertions, 0 deletions
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 | |||
579 | 579 | ||
580 | public virtual bool CanRunScript(LLUUID user, LLUUID script) | 580 | public virtual bool CanRunScript(LLUUID user, LLUUID script) |
581 | { | 581 | { |
582 | //External Checks! | ||
583 | if (!m_scene.ExternalChecks.ExternalChecksCanRunScript(script, user)) return false; | ||
582 | return IsAdministrator(user); | 584 | return IsAdministrator(user); |
583 | } | 585 | } |
584 | 586 | ||