From b6e7e5ed424c4c26c3f86f8decbd2b15a5ab90e1 Mon Sep 17 00:00:00 2001 From: diva Date: Wed, 11 Feb 2009 21:07:41 +0000 Subject: Enforce estate bans on Teleports. --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 6 ++++-- OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/ClientStack/LindenUDP') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 45915db..98d75ad 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -538,9 +538,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP "[CLIENT]: Close has been called with shutdownCircuit = {0} for {1} attached to scene {2}", shutdownCircuit, Name, m_scene.RegionInfo.RegionName); - m_imageManager.Close(); + if (m_imageManager != null) + m_imageManager.Close(); - m_PacketHandler.Flush(); + if (m_PacketHandler != null) + m_PacketHandler.Flush(); // raise an event on the packet server to Shutdown the circuit // Now, if we raise the event then the packet server will call this method itself, so don't try cleanup diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs index bdc4490..eb88715 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs @@ -443,9 +443,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP m_packetServer.AddNewClient(epSender, useCircuit, m_assetCache, sessionInfo, epProxy); - m_log.DebugFormat( - "[CONNECTION SUCCESS]: Incoming client {0} (circuit code {1}) received and authenticated for {2}", - useCircuit.CircuitCode.ID, useCircuit.CircuitCode.Code, m_localScene.RegionInfo.RegionName); + //m_log.DebugFormat( + // "[CONNECTION SUCCESS]: Incoming client {0} (circuit code {1}) received and authenticated for {2}", + // useCircuit.CircuitCode.ID, useCircuit.CircuitCode.Code, m_localScene.RegionInfo.RegionName); } } -- cgit v1.1