[Server] Stop crashing browser when receiving a query from it

coverity_scan^2
David Cernat 8 years ago
parent c1427b2558
commit f4a9f27977

@ -828,7 +828,6 @@ int Networking::mainLoop()
bs.Write(RakNet::RakString(player.second->npc.mName.c_str()));
bs.Write(0); // plugins
peer->Send(&bs, HIGH_PRIORITY, RELIABLE_ORDERED, 0, packet->systemAddress, false);
peer->CloseConnection(packet->guid, false);
break;
}
default:

Loading…
Cancel
Save