Add PT_CLIENTCMD back to allowed packet types

Fixes unexpected CLIENTCMD prints
This commit is contained in:
Wolfy committed 2020-04-07 07:09:51 -05:00
1 parent bbce134afa
commit 8a1f40b90f
1 file changed
+2 -1
+2 -1
View File
@@ -1172,7 +1172,8 @@ boolean HGetPacket(void)
|| netbuffer->packettype == PT_REQUESTFILE
|| netbuffer->packettype == PT_ASKINFOVIAMS
|| 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]));
CONS_Alert(CONS_NOTICE, "New node sent an unexpected %s packet\n", packettypename[netbuffer->packettype]);