Diff

util/throttle.lua @ 12975:d10957394a3c

util: Prefix module imports with prosody namespace
author Kim Alvefur <zash@zash.se>
date Fri, 17 Mar 2023 16:23:16 +0100
parent 8555:4f0f5b49bb03
line wrap: on
line diff
--- a/util/throttle.lua	Fri Mar 17 16:23:12 2023 +0100
+++ b/util/throttle.lua	Fri Mar 17 16:23:16 2023 +0100
@@ -1,5 +1,5 @@
 
-local gettime = require "util.time".now
+local gettime = require "prosody.util.time".now
 local setmetatable = setmetatable;
 
 local _ENV = nil;