aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Interfaces/IGridService.cs
diff options
context:
space:
mode:
authormeta72010-08-20 11:00:14 -0700
committermeta72010-08-20 11:00:14 -0700
commitcc8864b0e3ae0ee594813eb0a1115eeb5765291e (patch)
treee5aa4aebfedfdde475f7e4efc1d8b97864a367e6 /OpenSim/Services/Interfaces/IGridService.cs
parentFix a typecasting issue in llList2Float. This addresses mantis #262 (diff)
downloadopensim-SC_OLD-cc8864b0e3ae0ee594813eb0a1115eeb5765291e.zip
opensim-SC_OLD-cc8864b0e3ae0ee594813eb0a1115eeb5765291e.tar.gz
opensim-SC_OLD-cc8864b0e3ae0ee594813eb0a1115eeb5765291e.tar.bz2
opensim-SC_OLD-cc8864b0e3ae0ee594813eb0a1115eeb5765291e.tar.xz
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.cs6
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;