Mercurial > prosody-modules
view mod_log_mark/mod_log_mark.lua @ 3210:9505282ad24f
mod_omemo_all_access: Add compatibility with mod_pep_simple
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 03 Aug 2018 11:33:31 +0100 |
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);