From 2a8037f06cfb534176b51df66db48ec04a899fc8 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 15 Dec 2018 23:40:49 -0200 Subject: resync anti-flood should protect from idle spambots too --- npc/commands/resync.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc') diff --git a/npc/commands/resync.txt b/npc/commands/resync.txt index 1a1dfb121..53a406061 100644 --- a/npc/commands/resync.txt +++ b/npc/commands/resync.txt @@ -15,7 +15,7 @@ OnCall: dispbottom l("Impossible to resync: You are dead."); end; } - if (@rsync_delay > gettimetick(2) && readparam(Hp) < readparam(MaxHp)) { + if (@rsync_delay > gettimetick(2)) { dispbottom l("Not resync'ing to prevent flood."); end; } -- cgit v1.2.3-60-g2f50