This is a fork of Zandronum for TSPG.
リビジョン | 1aed22c699e232f0130c70efa545964a9c789f2f (tree) |
---|---|
日時 | 2021-03-15 11:12:17 |
作者 | Sean Baggaley <me@drin...> |
コミッター | Sean Baggaley |
Protected sv_enforcebans, sv_enforcemasterbanlist, and sv_updatemaster
@@ -82,12 +82,12 @@ | ||
82 | 82 | //-- CVARS ----------------------------------------------------------------------------------------------------------------------------------------- |
83 | 83 | //-------------------------------------------------------------------------------------------------------------------------------------------------- |
84 | 84 | |
85 | -CVAR( Bool, sv_enforcebans, true, CVAR_ARCHIVE|CVAR_NOSETBYACS ) | |
85 | +CVAR( Bool, sv_enforcebans, true, CVAR_ARCHIVE|CVAR_NOSETBYACS|TSPG_NOSET ) | |
86 | 86 | CVAR( Int, sv_banfilereparsetime, 0, CVAR_ARCHIVE|CVAR_NOSETBYACS ) |
87 | 87 | |
88 | 88 | //***************************************************************************** |
89 | 89 | // |
90 | -CUSTOM_CVAR( Bool, sv_enforcemasterbanlist, true, CVAR_ARCHIVE|CVAR_NOSETBYACS ) | |
90 | +CUSTOM_CVAR( Bool, sv_enforcemasterbanlist, true, CVAR_ARCHIVE|CVAR_NOSETBYACS|TSPG_NOSET ) | |
91 | 91 | { |
92 | 92 | if ( NETWORK_GetState( ) != NETSTATE_SERVER ) |
93 | 93 | return; |
@@ -697,7 +697,7 @@ | ||
697 | 697 | void SERVERCONSOLE_UpdateBroadcasting( void ); |
698 | 698 | void SERVERCONSOLE_UpdateTitleString( const char *pszString ); |
699 | 699 | // 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 ) | |
701 | 701 | { |
702 | 702 | SERVERCONSOLE_UpdateBroadcasting( ); |
703 | 703 | } |