X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=sv_main.c;h=4479a30e6a77ad4e2eb0a46cee9bd8f4751cb243;hb=4d34e0a632cbc401712f46e10bb9864438b0881f;hp=777d3e577959ff730fbaa2ce4a53a34f46d1dce6;hpb=0706fdfa8e33548670e59234409eac2c51849631;p=xonotic%2Fdarkplaces.git diff --git a/sv_main.c b/sv_main.c index 777d3e57..4479a30e 100644 --- a/sv_main.c +++ b/sv_main.c @@ -1302,7 +1302,7 @@ static void SV_Download_f(cmd_state_t *cmd) if (!sv_allowdownloads_archive.integer) { - if (!strcasecmp(extension, "pak") || !strcasecmp(extension, "pk3")) + if (!strcasecmp(extension, "pak") || !strcasecmp(extension, "pk3") || !strcasecmp(extension, "dpk")) { SV_ClientPrintf("Download rejected: file \"%s\" is an archive\nYou must separately download or purchase the data archives for this game/mod to get this file\n", host_client->download_name); SV_ClientCommands("\nstopdownload\n");