aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie Thielker2009-07-04 18:15:01 +0000
committerMelanie Thielker2009-07-04 18:15:01 +0000
commit23c7d6b818d8435562d85be6a4cedb015ed9937c (patch)
treee66f1dae3f9a2de99a5b9a03ab5781bc8293b8f5 /OpenSim
parent- adding a Persistent flag to RegionInfo (diff)
downloadopensim-SC_OLD-23c7d6b818d8435562d85be6a4cedb015ed9937c.zip
opensim-SC_OLD-23c7d6b818d8435562d85be6a4cedb015ed9937c.tar.gz
opensim-SC_OLD-23c7d6b818d8435562d85be6a4cedb015ed9937c.tar.bz2
opensim-SC_OLD-23c7d6b818d8435562d85be6a4cedb015ed9937c.tar.xz
Add the new field agent_access_max. Without it being set to "A", viewers from
1.23 prevent the removal of underwear.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/Communications/Services/LoginResponse.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Services/LoginResponse.cs b/OpenSim/Framework/Communications/Services/LoginResponse.cs
index c9a3175..b48fb76 100644
--- a/OpenSim/Framework/Communications/Services/LoginResponse.cs
+++ b/OpenSim/Framework/Communications/Services/LoginResponse.cs
@@ -144,6 +144,7 @@ namespace OpenSim.Framework.Communications.Services
144 firstname = "Test"; 144 firstname = "Test";
145 lastname = "User"; 145 lastname = "User";
146 agentAccess = "M"; 146 agentAccess = "M";
147 agentAccessMax = "A";
147 startLocation = "last"; 148 startLocation = "last";
148 allowFirstLife = "Y"; 149 allowFirstLife = "Y";
149 150
@@ -342,6 +343,7 @@ namespace OpenSim.Framework.Communications.Services
342 responseData["first_name"] = Firstname; 343 responseData["first_name"] = Firstname;
343 responseData["last_name"] = Lastname; 344 responseData["last_name"] = Lastname;
344 responseData["agent_access"] = agentAccess; 345 responseData["agent_access"] = agentAccess;
346 responseData["agent_access_max"] = agentAccessMax;
345 347
346 globalTexturesHash = new Hashtable(); 348 globalTexturesHash = new Hashtable();
347 globalTexturesHash["sun_texture_id"] = SunTexture; 349 globalTexturesHash["sun_texture_id"] = SunTexture;
@@ -416,6 +418,7 @@ namespace OpenSim.Framework.Communications.Services
416 map["first_name"] = OSD.FromString(Firstname); 418 map["first_name"] = OSD.FromString(Firstname);
417 map["last_name"] = OSD.FromString(Lastname); 419 map["last_name"] = OSD.FromString(Lastname);
418 map["agent_access"] = OSD.FromString(agentAccess); 420 map["agent_access"] = OSD.FromString(agentAccess);
421 map["agent_access_max"] = OSD.FromString(agentAccessMax);
419 422
420 map["sim_port"] = OSD.FromInteger(SimPort); 423 map["sim_port"] = OSD.FromInteger(SimPort);
421 map["sim_ip"] = OSD.FromString(SimAddress); 424 map["sim_ip"] = OSD.FromString(SimAddress);
@@ -666,6 +669,12 @@ namespace OpenSim.Framework.Communications.Services
666 set { agentAccess = value; } 669 set { agentAccess = value; }
667 } 670 }
668 671
672 public string AgentAccessMax
673 {
674 get { return agentAccessMax; }
675 set { agentAccessMax = value; }
676 }
677
669 public string StartLocation 678 public string StartLocation
670 { 679 {
671 get { return startLocation; } 680 get { return startLocation; }