Remove null checks at top of LLUDPServer.ProcessInPacket(). Neither packet nor client are ever null.
parent
d71c6dea7e
commit
d73805d7f4
|
@ -1391,13 +1391,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
Packet packet = incomingPacket.Packet;
|
||||
LLClientView client = incomingPacket.Client;
|
||||
|
||||
// Sanity check
|
||||
if (packet == null || client == null)
|
||||
{
|
||||
m_log.WarnFormat("[LLUDPSERVER]: Processing a packet with incomplete state. Packet=\"{0}\", Client=\"{1}\"",
|
||||
packet, client);
|
||||
}
|
||||
|
||||
if (client.IsActive)
|
||||
{
|
||||
m_currentIncomingClient = client;
|
||||
|
|
Loading…
Reference in New Issue