From 42f661ae70e7f5d2a1b32fba4db502f59a4f3147 Mon Sep 17 00:00:00 2001 From: Dominik Geyer Date: Sun, 5 Oct 2008 09:28:23 +0000 Subject: always check for last time kill --- src/game/server/hooks.cpp | 3 +-- 1 file changed, 1 insertion(+), 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(); -- cgit 1.4.1