[quake3-commits] r1956 - trunk/code/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon May 2 11:58:56 EDT 2011
Author: thilo
Date: 2011-05-02 11:58:56 -0400 (Mon, 02 May 2011)
New Revision: 1956
Modified:
trunk/code/server/server.h
trunk/code/server/sv_init.c
trunk/code/server/sv_main.c
Log:
Remove sv_strictAuth cvar for STANDALONE games
Modified: trunk/code/server/server.h
===================================================================
--- trunk/code/server/server.h 2011-05-02 15:57:02 UTC (rev 1955)
+++ trunk/code/server/server.h 2011-05-02 15:58:56 UTC (rev 1956)
@@ -274,7 +274,9 @@
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;
Modified: trunk/code/server/sv_init.c
===================================================================
--- trunk/code/server/sv_init.c 2011-05-02 15:57:02 UTC (rev 1955)
+++ trunk/code/server/sv_init.c 2011-05-02 15:58:56 UTC (rev 1956)
@@ -681,7 +681,9 @@
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);
Modified: trunk/code/server/sv_main.c
===================================================================
--- trunk/code/server/sv_main.c 2011-05-02 15:57:02 UTC (rev 1955)
+++ trunk/code/server/sv_main.c 2011-05-02 15:58:56 UTC (rev 1956)
@@ -56,7 +56,9 @@
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
More information about the quake3-commits
mailing list