1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 23:53:52 +00:00

[Server] Remove outdated code

This commit is contained in:
Koncord 2017-04-24 20:27:15 +08:00
parent 0f30f57d4d
commit 51422da641

View file

@ -401,18 +401,6 @@ int Networking::mainLoop()
case ID_CONNECTED_PING: case ID_CONNECTED_PING:
case ID_UNCONNECTED_PING: case ID_UNCONNECTED_PING:
break; break;
/*case ID_MASTER_QUERY:
{
LOG_MESSAGE_SIMPLE(Log::LOG_WARN, "Query request from %s", packet->systemAddress.ToString());
RakNet::BitStream bs;
bs.Write((unsigned char) ID_MASTER_QUERY);
bs.Write(Players::getPlayers()->size());
for (auto player : *Players::getPlayers())
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);
break;
}*/
default: default:
update(packet); update(packet);
break; break;