From 0b5cdc539c767b526f14cb7e7d97fd83bea14424 Mon Sep 17 00:00:00 2001 From: Melanie Date: Tue, 29 Dec 2009 18:35:06 +0000 Subject: 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 --- OpenSim/Client/Linden/LLProxyLoginModule.cs | 2 +- OpenSim/Client/Linden/LLStandaloneLoginModule.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Client/Linden') diff --git a/OpenSim/Client/Linden/LLProxyLoginModule.cs b/OpenSim/Client/Linden/LLProxyLoginModule.cs index efae234..9075f15 100644 --- a/OpenSim/Client/Linden/LLProxyLoginModule.cs +++ b/OpenSim/Client/Linden/LLProxyLoginModule.cs @@ -268,7 +268,7 @@ namespace OpenSim.Client.Linden else { string reason; - if (scene.NewUserConnection(agentData, out reason)) + if (scene.NewUserConnection(agentData, (uint)TeleportFlags.ViaLogin, out reason)) { success = true; } diff --git a/OpenSim/Client/Linden/LLStandaloneLoginModule.cs b/OpenSim/Client/Linden/LLStandaloneLoginModule.cs index 8739ce5..8047f74 100644 --- a/OpenSim/Client/Linden/LLStandaloneLoginModule.cs +++ b/OpenSim/Client/Linden/LLStandaloneLoginModule.cs @@ -199,7 +199,7 @@ namespace OpenSim.Client.Linden Scene scene; if (TryGetRegion(regionHandle, out scene)) { - return scene.NewUserConnection(agent, out reason); + return scene.NewUserConnection(agent, (uint)TeleportFlags.ViaLogin, out reason); } reason = "Region not found."; return false; -- cgit v1.1