diff options
Diffstat (limited to 'src/game/server')
| -rw-r--r-- | src/game/server/hooks.cpp | 3 |
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(); |