Software /
code /
prosody-modules
File
mod_log_mark/mod_log_mark.lua @ 4148:34a2e8796cff
mod_firewall: Update chain name for consistency
We keep the old JUMP CHAIN for compat, and in case we add internal
content checking rules in the future.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 21 Sep 2020 15:45:53 +0100 |
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);