diff options
author | Arthur Valadares | 2009-05-13 22:16:14 +0000 |
---|---|---|
committer | Arthur Valadares | 2009-05-13 22:16:14 +0000 |
commit | 09df50915d2c57b4dfda31332bcf650d99feca41 (patch) | |
tree | 7944d1ca3ad07618fd01b4ca7e0d324cc85149f4 | |
parent | Fix up some URL details (diff) | |
download | opensim-SC_OLD-09df50915d2c57b4dfda31332bcf650d99feca41.zip opensim-SC_OLD-09df50915d2c57b4dfda31332bcf650d99feca41.tar.gz opensim-SC_OLD-09df50915d2c57b4dfda31332bcf650d99feca41.tar.bz2 opensim-SC_OLD-09df50915d2c57b4dfda31332bcf650d99feca41.tar.xz |
* Bug fix: Variable m_regionSettings can be null, using RegionSettings instead, that starts a new RegionSettings object if private variable is null.
Fixes Mantis #3634
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/RegionInfo.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index 66dee4b..9ec7326 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs | |||
@@ -336,7 +336,7 @@ namespace OpenSim.Framework | |||
336 | 336 | ||
337 | public byte AccessLevel | 337 | public byte AccessLevel |
338 | { | 338 | { |
339 | get { return (byte)Util.ConvertMaturityToAccessLevel((uint)m_regionSettings.Maturity); } | 339 | get { return (byte)Util.ConvertMaturityToAccessLevel((uint)RegionSettings.Maturity); } |
340 | } | 340 | } |
341 | 341 | ||
342 | public void SetEndPoint(string ipaddr, int port) | 342 | public void SetEndPoint(string ipaddr, int port) |