diff options
author | meta7 | 2010-08-20 11:00:14 -0700 |
---|---|---|
committer | meta7 | 2010-08-20 11:00:14 -0700 |
commit | cc8864b0e3ae0ee594813eb0a1115eeb5765291e (patch) | |
tree | e5aa4aebfedfdde475f7e4efc1d8b97864a367e6 /OpenSim/Services | |
parent | Fix a typecasting issue in llList2Float. This addresses mantis #262 (diff) | |
download | opensim-SC-cc8864b0e3ae0ee594813eb0a1115eeb5765291e.zip opensim-SC-cc8864b0e3ae0ee594813eb0a1115eeb5765291e.tar.gz opensim-SC-cc8864b0e3ae0ee594813eb0a1115eeb5765291e.tar.bz2 opensim-SC-cc8864b0e3ae0ee594813eb0a1115eeb5765291e.tar.xz |
Get maturity level from access number. This addresses mantis #269
Diffstat (limited to 'OpenSim/Services')
-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; |