Mercurial > prosody-modules
view mod_log_mark/mod_log_mark.lua @ 1995:0e008f36a91c
mod_log_events: No such thing as module.remove_host. Fix this module so it can be loaded/unloaded dynamically and behave (mostly) correctly
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 22 Dec 2015 17:54:25 +0000 |
parents | 02390829df1a |
children | d15df55f0a63 |
line wrap: on
line source
local log = _G.log; module:add_timer(60-os.date("%S"), function () log("info", "-- MARK --"); return 60; end);