summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/sv_init.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/server/sv_init.c b/src/server/sv_init.c
index b661284a..c14b4f59 100644
--- a/src/server/sv_init.c
+++ b/src/server/sv_init.c
@@ -149,6 +149,11 @@ void SV_SetConfigstring (int index, const char *val) {
Info_SetValueForKey_Big( info, "sv_pakNames", Cvar_VariableString( "sv_alternatePakNames" ) );
Info_SetValueForKey_Big( info, "sv_referencedPaks", Cvar_VariableString( "sv_referencedAlternatePaks" ) );
Info_SetValueForKey_Big( info, "sv_referencedPakNames", Cvar_VariableString( "sv_referencedAlternatePakNames" ) );
+ Info_SetValueForKey_Big( info, "cl_allowDownload", "1, you should set it yourself" );
+ if ( !( sv_allowDownload->integer & DLF_NO_REDIRECT ) ) {
+ Info_SetValueForKey_Big( info, "sv_wwwBaseURL", Cvar_VariableString( "sv_dlUrl" ) );
+ Info_SetValueForKey_Big( info, "sv_wwwDownload", "1, you should set it yourself" );
+ }
}
}