mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-13 00:34:11 +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;
|
host_client->download.ackpos = 0;
|
||||||
|
|
||||||
fsize = -1;
|
fsize = -1;
|
||||||
if (0)
|
if (!COM_DownloadNameOkay(fname))
|
||||||
SV_ClientPrintf("refusing download of %s - restricted filename\n", fname);
|
SV_ClientPrintf("refusing download of %s - restricted filename\n", fname);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue