about summary refs log tree commit diff
path: root/src/game/server/hooks.cpp
diff options
context:
space:
mode:
authorDominik Geyer <dominik.geyer@gmx.de>2008-10-05 09:28:23 +0000
committerDominik Geyer <dominik.geyer@gmx.de>2008-10-05 09:28:23 +0000
commit42f661ae70e7f5d2a1b32fba4db502f59a4f3147 (patch)
tree49e45f90e2d9939fa8e8f5843acb9f4a1c3630f6 /src/game/server/hooks.cpp
parentfda4fd3320b05e8db0162288e98313e5493c4fa7 (diff)
downloadzcatch-42f661ae70e7f5d2a1b32fba4db502f59a4f3147.tar.gz
zcatch-42f661ae70e7f5d2a1b32fba4db502f59a4f3147.zip
always check for last time kill
Diffstat (limited to 'src/game/server/hooks.cpp')
-rw-r--r--src/game/server/hooks.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/server/hooks.cpp b/src/game/server/hooks.cpp
index 200e2c86..8d37ed81 100644
--- a/src/game/server/hooks.cpp
+++ b/src/game/server/hooks.cpp
@@ -312,8 +312,7 @@ void mods_message(int msgtype, int client_id)
 	}
 	else if (msgtype == NETMSGTYPE_CL_KILL)
 	{
-		//PLAYER *pplayer = get_player(client_id);
-		if(config.sv_spamprotection && p->last_kill+time_freq()*3 > time_get())
+		if(p->last_kill+time_freq()*3 > time_get())
 			return;
 		
 		p->last_kill = time_get();