Get maturity level from access number. This addresses mantis #269

avinationmerge
meta7 2010-08-20 11:00:14 -07:00
parent 810840b862
commit cc8864b0e3
1 changed files with 6 additions and 0 deletions

View File

@ -324,6 +324,12 @@ namespace OpenSim.Services.Interfaces
if (kvp.ContainsKey("regionName")) if (kvp.ContainsKey("regionName"))
RegionName = (string)kvp["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")) if (kvp.ContainsKey("serverIP"))
{ {
//int port = 0; //int port = 0;