PT_CLIENTCMD test

This commit is contained in:
Wolfy 2020-04-05 17:01:40 -05:00
parent 40f7d1b721
commit 78bc80fd49
1 changed files with 2 additions and 1 deletions

View File

@ -1160,7 +1160,8 @@ boolean HGetPacket(void)
|| netbuffer->packettype == PT_REQUESTFILE || netbuffer->packettype == PT_REQUESTFILE
|| netbuffer->packettype == PT_ASKINFOVIAMS || netbuffer->packettype == PT_ASKINFOVIAMS
|| netbuffer->packettype == PT_CLIENTJOIN || netbuffer->packettype == PT_CLIENTJOIN
|| netbuffer->packettype == PT_TELLFILESNEEDED)) || netbuffer->packettype == PT_TELLFILESNEEDED
|| netbuffer->packettype == PT_CLIENTCMD))
{ {
DEBFILE(va("New node sent an unexpected %s packet\n", packettypename[netbuffer->packettype])); DEBFILE(va("New node sent an unexpected %s packet\n", packettypename[netbuffer->packettype]));
CONS_Alert(CONS_NOTICE, "New node sent an unexpected %s packet\n", packettypename[netbuffer->packettype]); CONS_Alert(CONS_NOTICE, "New node sent an unexpected %s packet\n", packettypename[netbuffer->packettype]);