File

mod_log_mark/mod_log_mark.lua @ 6155:d80e398a2acc

mod_anti_spam: Also consider not a stranger if we have a pending (out) sub request
author Matthew Wild <mwild1@gmail.com>
date Fri, 17 Jan 2025 11:02:02 +0000
parent 2174:7be158b3376f
line wrap: on
line source

module:set_global();

local log = _G.log;

module:add_timer(60-os.date("%S"), function (now)
	log("info", "-- MARK --");
	return 90 - ((now + 30) % 60);
end);