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
1 changed files with 1 additions and 1 deletions

View File

@ -1503,7 +1503,7 @@ qboolean SV_AllowDownload (char *name)
return true;
//root of gamedir
if (strchr(name, '/') && !allow_download_root.value)
if (!strchr(name, '/') && !allow_download_root.value)
return false;
//any other subdirs are allowed