mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Get maturity level from access number. This addresses mantis #269
This commit is contained in:
@@ -324,6 +324,12 @@ namespace OpenSim.Services.Interfaces
|
||||
if (kvp.ContainsKey("regionName"))
|
||||
RegionName = (string)kvp["regionName"];
|
||||
|
||||
if (kvp.ContainsKey("access"))
|
||||
{
|
||||
byte access = Convert.ToByte((string)kvp["access"]);
|
||||
Maturity = (int)Util.ConvertAccessLevelToMaturity(access);
|
||||
}
|
||||
|
||||
if (kvp.ContainsKey("serverIP"))
|
||||
{
|
||||
//int port = 0;
|
||||
|
||||
Reference in New Issue
Block a user