reverts use of HOURS macro until I can find a way that works

This commit is contained in:
Kyep
2019-05-30 17:46:16 -07:00
parent fef59b4772
commit 65f73b9a8c
+2 -2
View File
@@ -15,10 +15,10 @@
if(intel < 0)
return
if(intel <= config.ipintel_rating_bad)
if(world.realtime < cacherealtime + (config.ipintel_save_good * HOURS))
if(world.realtime < cacherealtime + (config.ipintel_save_good * 60 * 60 * 10))
return TRUE
else
if(world.realtime < cacherealtime + (config.ipintel_save_bad * HOURS))
if(world.realtime < cacherealtime + (config.ipintel_save_bad * 60 * 60 * 10))
return TRUE
/proc/get_ip_intel(ip, bypasscache = FALSE, updatecache = TRUE)