Diff

plugins/mod_limits.lua @ 12977:74b9e05af71e

plugins: Prefix module imports with prosody namespace
author Kim Alvefur <zash@zash.se>
date Fri, 24 Mar 2023 13:15:28 +0100
parent 11735:7d29167bfcc3
child 13209:c8d949cf6b09
line wrap: on
line diff
--- a/plugins/mod_limits.lua	Fri Mar 17 18:03:07 2023 +0100
+++ b/plugins/mod_limits.lua	Fri Mar 24 13:15:28 2023 +0100
@@ -1,9 +1,9 @@
 -- Because we deal with pre-authed sessions and streams we can't be host-specific
 module:set_global();
 
-local filters = require "util.filters";
-local throttle = require "util.throttle";
-local timer = require "util.timer";
+local filters = require "prosody.util.filters";
+local throttle = require "prosody.util.throttle";
+local timer = require "prosody.util.timer";
 local ceil = math.ceil;
 
 local limits_cfg = module:get_option("limits", {});