diff options
author | mingchen | 2008-05-07 17:44:48 +0000 |
---|---|---|
committer | mingchen | 2008-05-07 17:44:48 +0000 |
commit | d8e33ec9143859928cdbfb691cbd00c4a01a2b96 (patch) | |
tree | c1c4e5573e53d9ae5158e48df68bdda7105f6e7a | |
parent | *Added SceneExternalChecks.cs that is used to manage checking the results of ... (diff) | |
download | opensim-SC-d8e33ec9143859928cdbfb691cbd00c4a01a2b96.zip opensim-SC-d8e33ec9143859928cdbfb691cbd00c4a01a2b96.tar.gz opensim-SC-d8e33ec9143859928cdbfb691cbd00c4a01a2b96.tar.bz2 opensim-SC-d8e33ec9143859928cdbfb691cbd00c4a01a2b96.tar.xz |
*Added CanRunScript to SceneExternalChecks
Diffstat (limited to '')
-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 | ||