aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/RegionInfo.cs
diff options
context:
space:
mode:
authorCharles Krinke2009-05-12 03:30:37 +0000
committerCharles Krinke2009-05-12 03:30:37 +0000
commitc1d680b6c3a5e3dc11cd1e7cc9b74d3d81317eee (patch)
treeff2c7eb3d841bceb24dc01fa4d8e8c5261f33a5e /OpenSim/Framework/RegionInfo.cs
parentChanges to the new user system to add the modularity developed for the asset (diff)
downloadopensim-SC_OLD-c1d680b6c3a5e3dc11cd1e7cc9b74d3d81317eee.zip
opensim-SC_OLD-c1d680b6c3a5e3dc11cd1e7cc9b74d3d81317eee.tar.gz
opensim-SC_OLD-c1d680b6c3a5e3dc11cd1e7cc9b74d3d81317eee.tar.bz2
opensim-SC_OLD-c1d680b6c3a5e3dc11cd1e7cc9b74d3d81317eee.tar.xz
Thank you kindly, Patnad, for a patch that:
This is to handle the changes in the v1.23 viewer of LL regarding the adult rating. With this patch a region can be changed to the adult rating from LL viewer v1.23 and above.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/RegionInfo.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs
index 4c107c9..66dee4b 100644
--- a/OpenSim/Framework/RegionInfo.cs
+++ b/OpenSim/Framework/RegionInfo.cs
@@ -334,6 +334,11 @@ namespace OpenSim.Framework
334 get { return m_objectCapacity; } 334 get { return m_objectCapacity; }
335 } 335 }
336 336
337 public byte AccessLevel
338 {
339 get { return (byte)Util.ConvertMaturityToAccessLevel((uint)m_regionSettings.Maturity); }
340 }
341
337 public void SetEndPoint(string ipaddr, int port) 342 public void SetEndPoint(string ipaddr, int port)
338 { 343 {
339 IPAddress tmpIP = IPAddress.Parse(ipaddr); 344 IPAddress tmpIP = IPAddress.Parse(ipaddr);
@@ -691,5 +696,6 @@ namespace OpenSim.Framework
691 regionInfo.ServerURI = serverURI; 696 regionInfo.ServerURI = serverURI;
692 return regionInfo; 697 return regionInfo;
693 } 698 }
699
694 } 700 }
695} 701}