diff --git a/code/server/server.h b/code/server/server.h index c8e0a8ca..a8ecc6c9 100644 --- a/code/server/server.h +++ b/code/server/server.h @@ -274,7 +274,9 @@ extern cvar_t *sv_gametype; extern cvar_t *sv_pure; extern cvar_t *sv_floodProtect; extern cvar_t *sv_lanForceRate; +#ifndef STANDALONE extern cvar_t *sv_strictAuth; +#endif extern cvar_t *sv_banFile; extern cvar_t *sv_heartbeat; extern cvar_t *sv_flatline; diff --git a/code/server/sv_init.c b/code/server/sv_init.c index 39b06a09..5bf1302c 100644 --- a/code/server/sv_init.c +++ b/code/server/sv_init.c @@ -681,7 +681,9 @@ void SV_Init (void) sv_killserver = Cvar_Get ("sv_killserver", "0", 0); sv_mapChecksum = Cvar_Get ("sv_mapChecksum", "", CVAR_ROM); sv_lanForceRate = Cvar_Get ("sv_lanForceRate", "1", CVAR_ARCHIVE ); +#ifndef STANDALONE sv_strictAuth = Cvar_Get ("sv_strictAuth", "1", CVAR_ARCHIVE ); +#endif sv_banFile = Cvar_Get("sv_banFile", "serverbans.dat", CVAR_ARCHIVE); sv_heartbeat = Cvar_Get("sv_heartbeat", HEARTBEAT_FOR_MASTER, CVAR_INIT); sv_flatline = Cvar_Get("sv_flatline", FLATLINE_FOR_MASTER, CVAR_INIT); diff --git a/code/server/sv_main.c b/code/server/sv_main.c index f3558f7f..1fd85fc0 100644 --- a/code/server/sv_main.c +++ b/code/server/sv_main.c @@ -56,7 +56,9 @@ cvar_t *sv_gametype; cvar_t *sv_pure; cvar_t *sv_floodProtect; cvar_t *sv_lanForceRate; // dedicated 1 (LAN) server forces local client rates to 99999 (bug #491) +#ifndef STANDALONE cvar_t *sv_strictAuth; +#endif cvar_t *sv_banFile; cvar_t *sv_heartbeat; // Heartbeat string that is sent to the master cvar_t *sv_flatline; // If the master server supports it we can send a flatline