aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common
diff options
context:
space:
mode:
authorMelanie2009-12-29 18:35:06 +0000
committerMelanie2009-12-29 18:35:06 +0000
commit0b5cdc539c767b526f14cb7e7d97fd83bea14424 (patch)
treea2d3061e021f68b3208b02c9291e442c39a3226f /OpenSim/Tests/Common
parentOne should not copy/paste so much :) (diff)
downloadopensim-SC-0b5cdc539c767b526f14cb7e7d97fd83bea14424.zip
opensim-SC-0b5cdc539c767b526f14cb7e7d97fd83bea14424.tar.gz
opensim-SC-0b5cdc539c767b526f14cb7e7d97fd83bea14424.tar.bz2
opensim-SC-0b5cdc539c767b526f14cb7e7d97fd83bea14424.tar.xz
Change teleports so the TeleportFlags are sent to the destination sim. It
can now determine if a connection is from login, teleport or crossing. Needed for a meaningful banlines implementation
Diffstat (limited to 'OpenSim/Tests/Common')
-rw-r--r--OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs
index 8b18d07..b13e8dd 100644
--- a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs
+++ b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs
@@ -382,7 +382,7 @@ namespace OpenSim.Tests.Common.Setup
382 382
383 // We emulate the proper login sequence here by doing things in three stages 383 // We emulate the proper login sequence here by doing things in three stages
384 // Stage 1: simulate login by telling the scene to expect a new user connection 384 // Stage 1: simulate login by telling the scene to expect a new user connection
385 scene.NewUserConnection(agentData, out reason); 385 scene.NewUserConnection(agentData, (uint)TeleportFlags.ViaLogin, out reason);
386 386
387 // Stage 2: add the new client as a child agent to the scene 387 // Stage 2: add the new client as a child agent to the scene
388 TestClient client = new TestClient(agentData, scene); 388 TestClient client = new TestClient(agentData, scene);