Mercurial > prosody-modules
changeset 6388:3b4cbcaf7b11
mod_host_status_heartbeat: Use util.time instead of prosody.util.time, for 0.12 compatibility
| author | Link Mauve <linkmauve@linkmauve.fr> |
|---|---|
| date | Sun, 01 Feb 2026 14:09:29 +0100 |
| parents | 040e4876dee3 |
| children | ba68b74ebfb8 |
| files | mod_host_status_heartbeat/mod_host_status_heartbeat.lua |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_host_status_heartbeat/mod_host_status_heartbeat.lua Sun Feb 01 14:09:22 2026 +0100 +++ b/mod_host_status_heartbeat/mod_host_status_heartbeat.lua Sun Feb 01 14:09:29 2026 +0100 @@ -1,5 +1,5 @@ local st = require "util.stanza"; -local time = require "prosody.util.time".now; +local time = require "util.time".now; local heartbeat_interval = module:get_option_number("status_check_heartbeat_interval", 5); local heartbeat_mode = module:get_option_string("status_check_heartbeat_mode", "remote");
