aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World/Permissions
diff options
context:
space:
mode:
authormingchen2008-05-07 17:44:48 +0000
committermingchen2008-05-07 17:44:48 +0000
commitd8e33ec9143859928cdbfb691cbd00c4a01a2b96 (patch)
treec1c4e5573e53d9ae5158e48df68bdda7105f6e7a /OpenSim/Region/Environment/Modules/World/Permissions
parent*Added SceneExternalChecks.cs that is used to manage checking the results of ... (diff)
downloadopensim-SC_OLD-d8e33ec9143859928cdbfb691cbd00c4a01a2b96.zip
opensim-SC_OLD-d8e33ec9143859928cdbfb691cbd00c4a01a2b96.tar.gz
opensim-SC_OLD-d8e33ec9143859928cdbfb691cbd00c4a01a2b96.tar.bz2
opensim-SC_OLD-d8e33ec9143859928cdbfb691cbd00c4a01a2b96.tar.xz
*Added CanRunScript to SceneExternalChecks
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Permissions')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs2
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