Diff

util/xtemplate.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 12213:dc9d63166488
line wrap: on
line diff
--- a/util/xtemplate.lua	Fri Mar 17 16:23:12 2023 +0100
+++ b/util/xtemplate.lua	Fri Mar 17 16:23:16 2023 +0100
@@ -3,7 +3,7 @@
 local s_sub = string.sub;
 local t_concat = table.concat;
 
-local st = require("util.stanza");
+local st = require("prosody.util.stanza");
 
 local function render(template, root, escape, filters)
 	escape = escape or st.xml_escape;