diff options
author | Melanie Thielker | 2008-07-14 01:27:47 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-07-14 01:27:47 +0000 |
commit | e712678689f37f7a58e02547a5dbe6a214680db2 (patch) | |
tree | a7f13c72ca14860cfb2099fe0603878e57120d7d /OpenSim/Region/DataSnapshot/SnapshotStore.cs | |
parent | Mantis#1728. Thank you kindly, Mikem for a patch that solves: (diff) | |
download | opensim-SC_OLD-e712678689f37f7a58e02547a5dbe6a214680db2.zip opensim-SC_OLD-e712678689f37f7a58e02547a5dbe6a214680db2.tar.gz opensim-SC_OLD-e712678689f37f7a58e02547a5dbe6a214680db2.tar.bz2 opensim-SC_OLD-e712678689f37f7a58e02547a5dbe6a214680db2.tar.xz |
Patch #9147
Patch #4 of the region settings series. Partial functionality of the new
storage system. More patches to follow.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/DataSnapshot/SnapshotStore.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
258 | // "PG" - Mormontown | 258 | // "PG" - Mormontown |
259 | // "Mature" - Sodom and Gomorrah | 259 | // "Mature" - Sodom and Gomorrah |
260 | // (Depreciated) "Patriotic Nigra Testing Sandbox" - Abandon Hope All Ye Who Enter Here | 260 | // (Depreciated) "Patriotic Nigra Testing Sandbox" - Abandon Hope All Ye Who Enter Here |
261 | if ((scene.RegionInfo.EstateSettings.simAccess & Simulator.SimAccess.Mature) == Simulator.SimAccess.Mature) | 261 | if (scene.RegionInfo.RegionSettings.Maturity == 1) |
262 | { | 262 | { |
263 | return "Mature"; | 263 | return "Mature"; |
264 | } | 264 | } |
265 | else if ((scene.RegionInfo.EstateSettings.simAccess & Simulator.SimAccess.PG) == Simulator.SimAccess.PG) | 265 | else if (scene.RegionInfo.RegionSettings.Maturity == 0) |
266 | { | 266 | { |
267 | return "PG"; | 267 | return "PG"; |
268 | } | 268 | } |