From 23c7d6b818d8435562d85be6a4cedb015ed9937c Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sat, 4 Jul 2009 18:15:01 +0000 Subject: Add the new field agent_access_max. Without it being set to "A", viewers from 1.23 prevent the removal of underwear. --- OpenSim/Framework/Communications/Services/LoginResponse.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'OpenSim/Framework/Communications') 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 firstname = "Test"; lastname = "User"; agentAccess = "M"; + agentAccessMax = "A"; startLocation = "last"; allowFirstLife = "Y"; @@ -342,6 +343,7 @@ namespace OpenSim.Framework.Communications.Services responseData["first_name"] = Firstname; responseData["last_name"] = Lastname; responseData["agent_access"] = agentAccess; + responseData["agent_access_max"] = agentAccessMax; globalTexturesHash = new Hashtable(); globalTexturesHash["sun_texture_id"] = SunTexture; @@ -416,6 +418,7 @@ namespace OpenSim.Framework.Communications.Services map["first_name"] = OSD.FromString(Firstname); map["last_name"] = OSD.FromString(Lastname); map["agent_access"] = OSD.FromString(agentAccess); + map["agent_access_max"] = OSD.FromString(agentAccessMax); map["sim_port"] = OSD.FromInteger(SimPort); map["sim_ip"] = OSD.FromString(SimAddress); @@ -666,6 +669,12 @@ namespace OpenSim.Framework.Communications.Services set { agentAccess = value; } } + public string AgentAccessMax + { + get { return agentAccessMax; } + set { agentAccessMax = value; } + } + public string StartLocation { get { return startLocation; } -- cgit v1.1