Host_Download_f: call COM_DownloadNameOkay

This commit is contained in:
Eric Wasylishen 2017-06-14 13:31:59 -06:00
parent ac0af0331f
commit 9bd8edaac9

View file

@ -2454,7 +2454,7 @@ static void Host_Download_f(void)
host_client->download.ackpos = 0;
fsize = -1;
if (0)
if (!COM_DownloadNameOkay(fname))
SV_ClientPrintf("refusing download of %s - restricted filename\n", fname);
else
{