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:
Spoike 2004-12-05 08:22:06 +00:00
parent abad34c826
commit b48cc1ae58

View file

@ -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