Mercurial > prosody-modules
view mod_log_mark/mod_log_mark.lua @ 5174:354832098f2f
mod_muc_rtbl: move use of "private" attributes to single function
This way, we reduce the scope where you can have a typo in the
attribute name to that function and we encourage users to
actually always call update_hashes.
| author | Jonas Schäfer <jonas@wielicki.name> |
|---|---|
| date | Tue, 21 Feb 2023 21:41:19 +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);
