diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 15ce756..7ccd71c 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -5111,7 +5111,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
5111 | { | 5111 | { |
5112 | if (m_host.ObjectOwner == parcel.landData.OwnerID || | 5112 | if (m_host.ObjectOwner == parcel.landData.OwnerID || |
5113 | (m_host.OwnerID == m_host.GroupID && m_host.GroupID == parcel.landData.GroupID | 5113 | (m_host.OwnerID == m_host.GroupID && m_host.GroupID == parcel.landData.GroupID |
5114 | && parcel.landData.IsGroupOwned) || World.ExternalChecks.ExternalChecksCanBeGodLike(m_host.OwnerID)) | 5114 | && parcel.landData.IsGroupOwned) || World.Permissions.IsGod(m_host.OwnerID)) |
5115 | { | 5115 | { |
5116 | av.StandUp(); | 5116 | av.StandUp(); |
5117 | } | 5117 | } |
@@ -7408,7 +7408,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
7408 | 7408 | ||
7409 | if (config.Configs["XEngine"].GetBoolean("AllowGodFunctions", false)) | 7409 | if (config.Configs["XEngine"].GetBoolean("AllowGodFunctions", false)) |
7410 | { | 7410 | { |
7411 | if (World.ExternalChecks.ExternalChecksCanRunConsoleCommand(m_host.OwnerID)) | 7411 | if (World.Permissions.CanRunConsoleCommand(m_host.OwnerID)) |
7412 | { | 7412 | { |
7413 | if (mask == ScriptBaseClass.MASK_BASE)//0 | 7413 | if (mask == ScriptBaseClass.MASK_BASE)//0 |
7414 | { | 7414 | { |
@@ -7701,7 +7701,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
7701 | // according to the docs, this command only works if script owner and land owner are the same | 7701 | // according to the docs, this command only works if script owner and land owner are the same |
7702 | // lets add estate owners and gods, too, and use the generic permission check. | 7702 | // lets add estate owners and gods, too, and use the generic permission check. |
7703 | ILandObject landObject = World.LandChannel.GetLandObject(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y); | 7703 | ILandObject landObject = World.LandChannel.GetLandObject(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y); |
7704 | if (!World.ExternalChecks.ExternalChecksCanEditParcel(m_host.ObjectOwner, landObject)) return; | 7704 | if (!World.Permissions.CanEditParcel(m_host.ObjectOwner, landObject)) return; |
7705 | 7705 | ||
7706 | bool update = false; // send a ParcelMediaUpdate (and possibly change the land's media URL)? | 7706 | bool update = false; // send a ParcelMediaUpdate (and possibly change the land's media URL)? |
7707 | 7707 | ||