Mercurial > prosody-modules
changeset 6387:040e4876dee3
mod_host_status_check: 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:22 +0100 |
| parents | 547feb8181eb |
| children | 3b4cbcaf7b11 |
| files | mod_host_status_check/mod_host_status_check.lua |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_host_status_check/mod_host_status_check.lua Sun Feb 01 14:09:14 2026 +0100 +++ b/mod_host_status_check/mod_host_status_check.lua Sun Feb 01 14:09:22 2026 +0100 @@ -1,4 +1,4 @@ -local time = require "prosody.util.time".now; +local time = require "util.time".now; local heartbeats = module:shared("/*/host_status_check/heartbeats"); local connection_events = module:shared("/*/host_status_check/connection_events");
