diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 087df70..8cb795d 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -3988,6 +3988,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
3988 | // We need the circuit data here for some of the subsequent checks. (groups, for example) | 3988 | // We need the circuit data here for some of the subsequent checks. (groups, for example) |
3989 | // If the checks fail, we remove the circuit. | 3989 | // If the checks fail, we remove the circuit. |
3990 | acd.teleportFlags = teleportFlags; | 3990 | acd.teleportFlags = teleportFlags; |
3991 | |||
3992 | // Remove any preexisting circuit - we don't want duplicates | ||
3993 | // This is a stab at preventing avatar "ghosting" | ||
3994 | if (vialogin) | ||
3995 | m_authenticateHandler.RemoveCircuit(acd.AgentID); | ||
3996 | |||
3991 | m_authenticateHandler.AddNewCircuit(acd.circuitcode, acd); | 3997 | m_authenticateHandler.AddNewCircuit(acd.circuitcode, acd); |
3992 | 3998 | ||
3993 | land = LandChannel.GetLandObject(acd.startpos.X, acd.startpos.Y); | 3999 | land = LandChannel.GetLandObject(acd.startpos.X, acd.startpos.Y); |