• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-c誰得cocoaqtpythonrubywindowsphpgameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwitterdombtronvb.nettestarduinodirectxpreviewerゲームエンジン

This is a fork of Zandronum for TSPG.


Commit MetaInfo

Revisión1aed22c699e232f0130c70efa545964a9c789f2f (tree)
Tiempo2021-03-15 11:12:17
AutorSean Baggaley <me@drin...>
CommiterSean Baggaley

Log Message

Protected sv_enforcebans, sv_enforcemasterbanlist, and sv_updatemaster

Cambiar Resumen

Diferencia incremental

diff -r 384ce32dfe55 -r 1aed22c699e2 src/sv_ban.cpp
--- a/src/sv_ban.cpp Mon Jan 25 23:43:56 2021 +0000
+++ b/src/sv_ban.cpp Mon Mar 15 02:12:17 2021 +0000
@@ -82,12 +82,12 @@
8282 //-- CVARS -----------------------------------------------------------------------------------------------------------------------------------------
8383 //--------------------------------------------------------------------------------------------------------------------------------------------------
8484
85-CVAR( Bool, sv_enforcebans, true, CVAR_ARCHIVE|CVAR_NOSETBYACS )
85+CVAR( Bool, sv_enforcebans, true, CVAR_ARCHIVE|CVAR_NOSETBYACS|TSPG_NOSET )
8686 CVAR( Int, sv_banfilereparsetime, 0, CVAR_ARCHIVE|CVAR_NOSETBYACS )
8787
8888 //*****************************************************************************
8989 //
90-CUSTOM_CVAR( Bool, sv_enforcemasterbanlist, true, CVAR_ARCHIVE|CVAR_NOSETBYACS )
90+CUSTOM_CVAR( Bool, sv_enforcemasterbanlist, true, CVAR_ARCHIVE|CVAR_NOSETBYACS|TSPG_NOSET )
9191 {
9292 if ( NETWORK_GetState( ) != NETSTATE_SERVER )
9393 return;
diff -r 384ce32dfe55 -r 1aed22c699e2 src/sv_master.cpp
--- a/src/sv_master.cpp Mon Jan 25 23:43:56 2021 +0000
+++ b/src/sv_master.cpp Mon Mar 15 02:12:17 2021 +0000
@@ -697,7 +697,7 @@
697697 void SERVERCONSOLE_UpdateBroadcasting( void );
698698 void SERVERCONSOLE_UpdateTitleString( const char *pszString );
699699 // Should the server inform the master server of its existence?
700-CUSTOM_CVAR( Bool, sv_updatemaster, true, CVAR_SERVERINFO|CVAR_NOSETBYACS )
700+CUSTOM_CVAR( Bool, sv_updatemaster, true, CVAR_SERVERINFO|CVAR_NOSETBYACS|TSPG_NOSET )
701701 {
702702 SERVERCONSOLE_UpdateBroadcasting( );
703703 }