Diff

plugins/muc/history.lib.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 11711:6fbbfa4a1178
child 13213:50324f66ca2a
line wrap: on
line diff
--- a/plugins/muc/history.lib.lua	Fri Mar 17 18:03:07 2023 +0100
+++ b/plugins/muc/history.lib.lua	Fri Mar 24 13:15:28 2023 +0100
@@ -8,8 +8,8 @@
 --
 
 local gettime = os.time;
-local datetime = require "util.datetime";
-local st = require "util.stanza";
+local datetime = require "prosody.util.datetime";
+local st = require "prosody.util.stanza";
 
 local default_history_length = 20;
 local max_history_length = module:get_option_number("max_history_messages", math.huge);