* minor: move connection success log message so that it doesn't get printed again if a duplicate use circuit code packet comes in

0.6.3-post-fixes
Justin Clarke Casey 2009-01-21 18:46:44 +00:00
parent 22aeda3ba1
commit d2d273aebe
2 changed files with 7 additions and 7 deletions

View File

@ -442,12 +442,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
} }
m_packetServer.AddNewClient(epSender, useCircuit, m_assetCache, sessionInfo, epProxy); m_packetServer.AddNewClient(epSender, useCircuit, m_assetCache, sessionInfo, epProxy);
}
m_log.DebugFormat( m_log.DebugFormat(
"[CONNECTION SUCCESS]: Incoming client {0} (circuit code {1}) received and authenticated for {2}", "[CONNECTION SUCCESS]: Incoming client {0} (circuit code {1}) received and authenticated for {2}",
useCircuit.CircuitCode.ID, useCircuit.CircuitCode.Code, m_localScene.RegionInfo.RegionName); useCircuit.CircuitCode.ID, useCircuit.CircuitCode.Code, m_localScene.RegionInfo.RegionName);
} }
}
// Ack the UseCircuitCode packet // Ack the UseCircuitCode packet
PacketAckPacket ack_it = (PacketAckPacket)PacketPool.Instance.GetPacket(PacketType.PacketAck); PacketAckPacket ack_it = (PacketAckPacket)PacketPool.Instance.GetPacket(PacketType.PacketAck);

View File

@ -726,7 +726,7 @@ namespace OpenSim.Region.Environment.Scenes
if (reg != null) if (reg != null)
{ {
m_log.DebugFormat( m_log.DebugFormat(
"[SCENE COMMUNICATION SERVICE]: RequestTeleportToLocation to {0} {1}", "[SCENE COMMUNICATION SERVICE]: RequestTeleportToLocation to {0} in {1}",
position, reg.RegionName); position, reg.RegionName);
if (eq == null) if (eq == null)