[iortcw] 156/497: MP: Remove unused AddMaxLivesIP and ClearMaxLivesIP / Remove extra whitespaces

Simon McVittie smcv at debian.org
Fri Sep 8 10:36:43 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit fc58d3bfe5dfe4df0f03eb631f7f751fe6778cd5
Author: M4N4T4RMS at gmail.com <M4N4T4RMS at gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date:   Mon Jul 7 20:53:25 2014 +0000

    MP: Remove unused AddMaxLivesIP and ClearMaxLivesIP / Remove extra whitespaces
---
 MP/code/game/g_local.h  | 2 --
 MP/code/game/g_svcmds.c | 7 ++-----
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/MP/code/game/g_local.h b/MP/code/game/g_local.h
index e1d01fe..5290d2d 100644
--- a/MP/code/game/g_local.h
+++ b/MP/code/game/g_local.h
@@ -969,9 +969,7 @@ qboolean    ConsoleCommand( void );
 void G_ProcessIPBans( void );
 qboolean G_FilterPacket( char *from );
 qboolean G_FilterMaxLivesPacket( char *from );
-void AddMaxLivesIP( char *str );
 void AddMaxLivesGUID( char *str );
-void ClearMaxLivesIP( void );
 void ClearMaxLivesGUID( void );
 
 //
diff --git a/MP/code/game/g_svcmds.c b/MP/code/game/g_svcmds.c
index e50c5e6..3252b1b 100644
--- a/MP/code/game/g_svcmds.c
+++ b/MP/code/game/g_svcmds.c
@@ -271,6 +271,7 @@ static void AddIP( char *str ) {
 
 	UpdateIPBans();
 }
+
 /*
 =================
 AddMaxLivesGUID
@@ -287,7 +288,6 @@ void AddMaxLivesGUID( char *str ) {
 	numMaxLivesFilters++;
 }
 
-
 /*
 =================
 G_ProcessIPBans
@@ -313,7 +313,6 @@ void G_ProcessIPBans( void ) {
 	}
 }
 
-
 /*
 =================
 Svcmd_AddIP_f
@@ -371,7 +370,7 @@ void Svcmd_RemoveIP_f( void ) {
 /*
  Xian - Clears out the entire list maxlives enforcement banlist
 */
-void ClearMaxLivesGUID() {
+void ClearMaxLivesGUID( void ) {
 	int i;
 
 	for ( i = 0 ; i < numMaxLivesFilters ; i++ ) {
@@ -607,8 +606,6 @@ void Svcmd_SwapTeams_f( void ) {
 	trap_SendConsoleCommand( EXEC_APPEND, va( "map_restart 0 %i\n", GS_WARMUP ) );
 }
 
-
-
 char    *ConcatArgs( int start );
 
 /*

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list