view mod_log_mark/mod_log_mark.lua @ 2148:c472a454be61

mod_smacks: Fix sending <r> after stanzas while not creating multiple timers (thanks Thilo)
author Kim Alvefur <zash@zash.se>
date Sat, 02 Apr 2016 20:03:30 +0200
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);