mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-09 23:11:39 +00:00
Host_Download_f: call COM_DownloadNameOkay
This commit is contained in:
parent
ac0af0331f
commit
9bd8edaac9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue