# HG changeset patch # User Link Mauve # Date 1769951379 -3600 # Node ID 03a35e90c44d3b7a6d87d3096c0d45b0557037cf # Parent ba68b74ebfb8e9f9d026add9d3a7f9d605367262 mod_log_slow_events: Use util.time instead of prosody.util.time, for 0.12 compatibility diff -r ba68b74ebfb8 -r 03a35e90c44d mod_log_slow_events/mod_log_slow_events.lua --- a/mod_log_slow_events/mod_log_slow_events.lua Sun Feb 01 14:09:34 2026 +0100 +++ b/mod_log_slow_events/mod_log_slow_events.lua Sun Feb 01 14:09:39 2026 +0100 @@ -1,6 +1,6 @@ module:set_global(); -local time = require "prosody.util.time".now; +local time = require "util.time".now; local base64_decode = require "util.encodings".base64.decode; local max_seconds = module:get_option_number("log_slow_events_threshold", 0.5);