From 09df50915d2c57b4dfda31332bcf650d99feca41 Mon Sep 17 00:00:00 2001 From: Arthur Valadares Date: Wed, 13 May 2009 22:16:14 +0000 Subject: * 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 --- OpenSim/Framework/RegionInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Framework') 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 public byte AccessLevel { - get { return (byte)Util.ConvertMaturityToAccessLevel((uint)m_regionSettings.Maturity); } + get { return (byte)Util.ConvertMaturityToAccessLevel((uint)RegionSettings.Maturity); } } public void SetEndPoint(string ipaddr, int port) -- cgit v1.1