Diff

plugins/mod_cron.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 12489:8b42575738f0
child 13264:9b720c38fee8
line wrap: on
line diff
--- a/plugins/mod_cron.lua	Fri Mar 17 18:03:07 2023 +0100
+++ b/plugins/mod_cron.lua	Fri Mar 24 13:15:28 2023 +0100
@@ -1,7 +1,7 @@
 module:set_global();
 
-local async = require("util.async");
-local datetime = require("util.datetime");
+local async = require("prosody.util.async");
+local datetime = require("prosody.util.datetime");
 
 local periods = { hourly = 3600; daily = 86400; weekly = 7 * 86400 }