Entirely ignore PT_ASKINFOVIAMS packets, since it turns out it's not even sent by the MS anyway

This commit is contained in:
Monster Iestyn 2017-05-27 19:06:46 +01:00
parent 3928b75b7a
commit d20efa5a74

View file

@ -3413,6 +3413,7 @@ static void HandlePacketFromAwayNode(SINT8 node)
switch (netbuffer->packettype) switch (netbuffer->packettype)
{ {
case PT_ASKINFOVIAMS: case PT_ASKINFOVIAMS:
#if 0
if (server && serverrunning) if (server && serverrunning)
{ {
INT32 clientnode; INT32 clientnode;
@ -3434,6 +3435,9 @@ static void HandlePacketFromAwayNode(SINT8 node)
} }
else else
Net_CloseConnection(node); // you're not supposed to get it, so ignore it Net_CloseConnection(node); // you're not supposed to get it, so ignore it
#else
Net_CloseConnection(node);
#endif
break; break;
case PT_ASKINFO: case PT_ASKINFO: