author | tmolitor <thilo@eightysoft.de> |
Sun, 16 Jun 2019 02:00:12 +0200 | |
changeset 3625 | c2c851722a8a |
parent 3624 | fb1c8dee2ead |
child 3626 | 21f870e1ba55 |
--- a/mod_smacks/mod_smacks.lua Sat Jun 15 01:34:52 2019 +0200 +++ b/mod_smacks/mod_smacks.lua Sun Jun 16 02:00:12 2019 +0200 @@ -108,7 +108,7 @@ if stopped then return; end return callback(t); end); - if timer.stop then return timer; end -- new prosody api includes stop() function + if timer and timer.stop then return timer; end -- new prosody api includes stop() function return { stop = function () stopped = true end; timer;