aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSimMain.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/OpenSimMain.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/OpenSimMain.cs b/OpenSim/OpenSimMain.cs
index e90ad54..8edadc3 100644
--- a/OpenSim/OpenSimMain.cs
+++ b/OpenSim/OpenSimMain.cs
@@ -271,13 +271,14 @@ namespace OpenSim
271 delegate(XmlRpcRequest request) 271 delegate(XmlRpcRequest request)
272 { 272 {
273 Hashtable requestData = (Hashtable)request.Params[0]; 273 Hashtable requestData = (Hashtable)request.Params[0];
274 uint circuitcode = Convert.ToUInt32(requestData["circuit_code"]);
275
274 AgentCircuitData agent_data = new AgentCircuitData(); 276 AgentCircuitData agent_data = new AgentCircuitData();
275 agent_data.firstname = (string)requestData["firstname"]; 277 agent_data.firstname = (string)requestData["firstname"];
276 agent_data.lastname = (string)requestData["lastname"]; 278 agent_data.lastname = (string)requestData["lastname"];
277 agent_data.circuitcode = Convert.ToUInt32(requestData["circuit_code"]); 279 agent_data.circuitcode = circuitcode;
278 agent_data.startpos = new LLVector3(Single.Parse((string)requestData["pos_x"]), Single.Parse((string)requestData["pos_y"]), Single.Parse((string)requestData["pos_z"])); 280 agent_data.startpos = new LLVector3(Single.Parse((string)requestData["pos_x"]), Single.Parse((string)requestData["pos_y"]), Single.Parse((string)requestData["pos_z"]));
279 281
280 uint circuitcode = (uint)agent_data.circuitcode;
281 RemoteGridBase gridServer = (RemoteGridBase)this.GridServers.GridServer; 282 RemoteGridBase gridServer = (RemoteGridBase)this.GridServers.GridServer;
282 283
283 AgentCircuitData agentCircuit; 284 AgentCircuitData agentCircuit;