aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/cl_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/client/cl_main.c')
-rw-r--r--code/client/cl_main.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/code/client/cl_main.c b/code/client/cl_main.c
index 12b102d..a2b93b9 100644
--- a/code/client/cl_main.c
+++ b/code/client/cl_main.c
@@ -1444,13 +1444,6 @@ void CL_NextDownload(void) {
else
s = localName + strlen(localName); // point at the nul byte
- // Make sure the server cannot make us write to non-quake3 directories.
- if(strstr(localName, "../") || strstr(localName, "..\\"))
- {
- Com_Error(ERR_DROP, "CL_NextDownload: Invalid download name %s", localName);
- return;
- }
-
CL_BeginDownload( localName, remoteName );
clc.downloadRestart = qtrue;