diff options
Diffstat (limited to '')
3 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs index 124f01c..58bbd24 100644 --- a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs | |||
@@ -967,7 +967,7 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
967 | { | 967 | { |
968 | RegionHandshakeArgs args = new RegionHandshakeArgs(); | 968 | RegionHandshakeArgs args = new RegionHandshakeArgs(); |
969 | 969 | ||
970 | args.isEstateManager = Scene.RegionInfo.EstateSettings.IsEstateManager(remoteClient.AgentId); | 970 | args.isEstateManager = Scene.RegionInfo.EstateSettings.IsEstateManagerOrOwner(remoteClient.AgentId); |
971 | if (Scene.RegionInfo.EstateSettings.EstateOwner != UUID.Zero && Scene.RegionInfo.EstateSettings.EstateOwner == remoteClient.AgentId) | 971 | if (Scene.RegionInfo.EstateSettings.EstateOwner != UUID.Zero && Scene.RegionInfo.EstateSettings.EstateOwner == remoteClient.AgentId) |
972 | args.isEstateManager = true; | 972 | args.isEstateManager = true; |
973 | 973 | ||
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs index 7f44613..0536f6e 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs | |||
@@ -469,7 +469,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
469 | if (m_scene.Permissions.IsAdministrator(avatar)) | 469 | if (m_scene.Permissions.IsAdministrator(avatar)) |
470 | return false; | 470 | return false; |
471 | 471 | ||
472 | if (m_scene.RegionInfo.EstateSettings.IsEstateManager(avatar)) | 472 | if (m_scene.RegionInfo.EstateSettings.IsEstateManagerOrOwner(avatar)) |
473 | return false; | 473 | return false; |
474 | 474 | ||
475 | if (avatar == LandData.OwnerID) | 475 | if (avatar == LandData.OwnerID) |
@@ -499,7 +499,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
499 | if (m_scene.Permissions.IsAdministrator(avatar)) | 499 | if (m_scene.Permissions.IsAdministrator(avatar)) |
500 | return false; | 500 | return false; |
501 | 501 | ||
502 | if (m_scene.RegionInfo.EstateSettings.IsEstateManager(avatar)) | 502 | if (m_scene.RegionInfo.EstateSettings.IsEstateManagerOrOwner(avatar)) |
503 | return false; | 503 | return false; |
504 | 504 | ||
505 | if (avatar == LandData.OwnerID) | 505 | if (avatar == LandData.OwnerID) |
diff --git a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs index 64759a7..2032905 100644 --- a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs +++ b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs | |||
@@ -503,7 +503,7 @@ namespace OpenSim.Region.CoreModules.World.Permissions | |||
503 | { | 503 | { |
504 | if (user == UUID.Zero) return false; | 504 | if (user == UUID.Zero) return false; |
505 | 505 | ||
506 | return m_scene.RegionInfo.EstateSettings.IsEstateManager(user); | 506 | return m_scene.RegionInfo.EstateSettings.IsEstateManagerOrOwner(user); |
507 | } | 507 | } |
508 | 508 | ||
509 | #endregion | 509 | #endregion |