mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-29 23:22:01 +00:00
Fix for download paths.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@562 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
abad34c826
commit
b48cc1ae58
1 changed files with 1 additions and 1 deletions
|
@ -1503,7 +1503,7 @@ qboolean SV_AllowDownload (char *name)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
//root of gamedir
|
//root of gamedir
|
||||||
if (strchr(name, '/') && !allow_download_root.value)
|
if (!strchr(name, '/') && !allow_download_root.value)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
//any other subdirs are allowed
|
//any other subdirs are allowed
|
||||||
|
|
Loading…
Reference in a new issue