diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/AuthenticateSessionsRemote.cs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/OpenSim/OpenSim.RegionServer/AuthenticateSessionsRemote.cs b/OpenSim/OpenSim.RegionServer/AuthenticateSessionsRemote.cs index 80cd9d3..13bce0e 100644 --- a/OpenSim/OpenSim.RegionServer/AuthenticateSessionsRemote.cs +++ b/OpenSim/OpenSim.RegionServer/AuthenticateSessionsRemote.cs | |||
@@ -19,28 +19,6 @@ namespace OpenSim | |||
19 | 19 | ||
20 | public XmlRpcResponse ExpectUser(XmlRpcRequest request) | 20 | public XmlRpcResponse ExpectUser(XmlRpcRequest request) |
21 | { | 21 | { |
22 | Hashtable requestData = (Hashtable)request.Params[0]; | ||
23 | AgentCircuitData agentData = new AgentCircuitData(); | ||
24 | agentData.SessionID = new LLUUID((string)requestData["session_id"]); | ||
25 | agentData.SecureSessionID = new LLUUID((string)requestData["secure_session_id"]); | ||
26 | agentData.firstname = (string)requestData["firstname"]; | ||
27 | agentData.lastname = (string)requestData["lastname"]; | ||
28 | agentData.AgentID = new LLUUID((string)requestData["agent_id"]); | ||
29 | agentData.circuitcode = Convert.ToUInt32(requestData["circuit_code"]); | ||
30 | if (requestData.ContainsKey("child_agent") && requestData["child_agent"].Equals("1")) | ||
31 | { | ||
32 | agentData.child = true; | ||
33 | } | ||
34 | else | ||
35 | { | ||
36 | agentData.startpos = new LLVector3(Convert.ToUInt32(requestData["startpos_x"]), Convert.ToUInt32(requestData["startpos_y"]), Convert.ToUInt32(requestData["startpos_z"])); | ||
37 | agentData.child = false; | ||
38 | // Console.WriteLine("expect user start pos is " + agentData.startpos.X + " , " + agentData.startpos.Y + " , " + agentData.startpos.Z); | ||
39 | |||
40 | } | ||
41 | |||
42 | this.AddNewCircuit(agentData.circuitcode, agentData); | ||
43 | |||
44 | return new XmlRpcResponse(); | 22 | return new XmlRpcResponse(); |
45 | } | 23 | } |
46 | } | 24 | } |