From e712678689f37f7a58e02547a5dbe6a214680db2 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 14 Jul 2008 01:27:47 +0000 Subject: Patch #9147 Patch #4 of the region settings series. Partial functionality of the new storage system. More patches to follow. --- OpenSim/Region/DataSnapshot/SnapshotStore.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/DataSnapshot/SnapshotStore.cs') diff --git a/OpenSim/Region/DataSnapshot/SnapshotStore.cs b/OpenSim/Region/DataSnapshot/SnapshotStore.cs index 4f4beea..769b3ac 100644 --- a/OpenSim/Region/DataSnapshot/SnapshotStore.cs +++ b/OpenSim/Region/DataSnapshot/SnapshotStore.cs @@ -258,11 +258,11 @@ namespace OpenSim.Region.DataSnapshot // "PG" - Mormontown // "Mature" - Sodom and Gomorrah // (Depreciated) "Patriotic Nigra Testing Sandbox" - Abandon Hope All Ye Who Enter Here - if ((scene.RegionInfo.EstateSettings.simAccess & Simulator.SimAccess.Mature) == Simulator.SimAccess.Mature) + if (scene.RegionInfo.RegionSettings.Maturity == 1) { return "Mature"; } - else if ((scene.RegionInfo.EstateSettings.simAccess & Simulator.SimAccess.PG) == Simulator.SimAccess.PG) + else if (scene.RegionInfo.RegionSettings.Maturity == 0) { return "PG"; } -- cgit v1.1