From 98922d54b12086c9e71c55dcb9c766d584522552 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 24 Mar 2023 13:15:28 +0100 Subject: plugins: Prefix module imports with prosody namespace --- plugins/mod_announce.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/mod_announce.lua') diff --git a/plugins/mod_announce.lua b/plugins/mod_announce.lua index 8161d4ba..ba62c11b 100644 --- a/plugins/mod_announce.lua +++ b/plugins/mod_announce.lua @@ -6,7 +6,7 @@ -- COPYING file in the source package for more information. -- -local st, jid = require "util.stanza", require "util.jid"; +local st, jid = require "prosody.util.stanza", require "prosody.util.jid"; local hosts = prosody.hosts; @@ -63,7 +63,7 @@ end module:hook("message/host", handle_announcement); -- Ad-hoc command (XEP-0133) -local dataforms_new = require "util.dataforms".new; +local dataforms_new = require "prosody.util.dataforms".new; local announce_layout = dataforms_new{ title = "Making an Announcement"; instructions = "Fill out this form to make an announcement to all\nactive users of this service."; -- cgit v1.2.3