aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs')
-rw-r--r--OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs14
1 files changed, 13 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs b/OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs
index 5278b74..b14e38b 100644
--- a/OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs
+++ b/OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs
@@ -458,7 +458,19 @@ namespace OpenSim.Region.CoreModules.InterGrid
458 responseMap["region_x"] = OSD.FromInteger(reg.RegionLocX * (uint)Constants.RegionSize); // LLX 458 responseMap["region_x"] = OSD.FromInteger(reg.RegionLocX * (uint)Constants.RegionSize); // LLX
459 responseMap["region_y"] = OSD.FromInteger(reg.RegionLocY * (uint)Constants.RegionSize); // LLY 459 responseMap["region_y"] = OSD.FromInteger(reg.RegionLocY * (uint)Constants.RegionSize); // LLY
460 responseMap["region_id"] = OSD.FromUUID(reg.originRegionID); 460 responseMap["region_id"] = OSD.FromUUID(reg.originRegionID);
461 responseMap["sim_access"] = OSD.FromString((reg.RegionSettings.Maturity == 1) ? "Mature" : "PG"); 461
462 if (reg.RegionSettings.Maturity == 1)
463 {
464 responseMap["sim_access"] = OSD.FromString("Mature");
465 }
466 else if (reg.RegionSettings.Maturity == 2)
467 {
468 responseMap["sim_access"] = OSD.FromString("Adult");
469 }
470 else
471 {
472 responseMap["sim_access"] = OSD.FromString("PG");
473 }
462 474
463 // Generate a dummy agent for the user so we can get back a CAPS path 475 // Generate a dummy agent for the user so we can get back a CAPS path
464 AgentCircuitData agentData = new AgentCircuitData(); 476 AgentCircuitData agentData = new AgentCircuitData();