diff options
Get maturity level from access number. This addresses mantis #269
Diffstat (limited to 'OpenSim/Services/Interfaces/IGridService.cs')
-rw-r--r-- | OpenSim/Services/Interfaces/IGridService.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Services/Interfaces/IGridService.cs b/OpenSim/Services/Interfaces/IGridService.cs index ac234dc..cce8f2c 100644 --- a/OpenSim/Services/Interfaces/IGridService.cs +++ b/OpenSim/Services/Interfaces/IGridService.cs | |||
@@ -324,6 +324,12 @@ namespace OpenSim.Services.Interfaces | |||
324 | if (kvp.ContainsKey("regionName")) | 324 | if (kvp.ContainsKey("regionName")) |
325 | RegionName = (string)kvp["regionName"]; | 325 | RegionName = (string)kvp["regionName"]; |
326 | 326 | ||
327 | if (kvp.ContainsKey("access")) | ||
328 | { | ||
329 | byte access = Convert.ToByte((string)kvp["access"]); | ||
330 | Maturity = (int)Util.ConvertAccessLevelToMaturity(access); | ||
331 | } | ||
332 | |||
327 | if (kvp.ContainsKey("serverIP")) | 333 | if (kvp.ContainsKey("serverIP")) |
328 | { | 334 | { |
329 | //int port = 0; | 335 | //int port = 0; |