diff options
Diffstat (limited to 'src/cl_http.c')
-rw-r--r-- | src/cl_http.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cl_http.c b/src/cl_http.c index 6635024..3ee3ac8 100644 --- a/src/cl_http.c +++ b/src/cl_http.c @@ -400,6 +400,10 @@ void HTTP_SetServer (const char *url) { if (!*url) return; + // ignore if downloads are permanently disabled + if (allow_download->integer == -1) + return; + if (strncmp (url, "http://", 7)) { Com_Printf ("[HTTP] Ignoring download server URL with non-HTTP schema.\n"); return; |