mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
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
This commit is contained in:
@@ -382,7 +382,7 @@ namespace OpenSim.Tests.Common.Setup
|
||||
|
||||
// We emulate the proper login sequence here by doing things in three stages
|
||||
// Stage 1: simulate login by telling the scene to expect a new user connection
|
||||
scene.NewUserConnection(agentData, out reason);
|
||||
scene.NewUserConnection(agentData, (uint)TeleportFlags.ViaLogin, out reason);
|
||||
|
||||
// Stage 2: add the new client as a child agent to the scene
|
||||
TestClient client = new TestClient(agentData, scene);
|
||||
|
||||
Reference in New Issue
Block a user