Mercurial > prosody-modules
view mod_log_mark/mod_log_mark.lua @ 6125:ef7bf4215cb3
mod_anti_spam: Update definition of "stranger" to include sub to/from JID or domains
This should allow more trusted communications while keeping untrusted ones
going through the filters.
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Fri, 17 Jan 2025 10:31:41 +0000 |
| parents | 7be158b3376f |
| children |
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);
