Diff

plugins/mod_server_contact_info.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 11584:8bea29d1f82d
child 12981:d795e3bbc0e3
line wrap: on
line diff
--- a/plugins/mod_server_contact_info.lua	Fri Mar 17 18:03:07 2023 +0100
+++ b/plugins/mod_server_contact_info.lua	Fri Mar 24 13:15:28 2023 +0100
@@ -6,12 +6,12 @@
 -- COPYING file in the source package for more information.
 --
 
-local array = require "util.array";
-local jid = require "util.jid";
+local array = require "prosody.util.array";
+local jid = require "prosody.util.jid";
 local url = require "socket.url";
 
 -- Source: http://xmpp.org/registrar/formtypes.html#http:--jabber.org-network-serverinfo
-local form_layout = require "util.dataforms".new({
+local form_layout = require "prosody.util.dataforms".new({
 	{ var = "FORM_TYPE"; type = "hidden"; value = "http://jabber.org/network/serverinfo"; };
 	{ name = "abuse", var = "abuse-addresses", type = "list-multi" },
 	{ name = "admin", var = "admin-addresses", type = "list-multi" },