aboutsummaryrefslogtreecommitdiffstats
path: root/net/resolvers
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-03-17 16:23:12 +0100
committerKim Alvefur <zash@zash.se>2023-03-17 16:23:12 +0100
commit869581384d74b506b026c70584a7338e7f1399cb (patch)
tree218371460894ca55a38c69a959753bf9f73cc3da /net/resolvers
parentffd1561c5e93ee8ef2195ff61175cbf30494acd5 (diff)
downloadprosody-869581384d74b506b026c70584a7338e7f1399cb.tar.gz
prosody-869581384d74b506b026c70584a7338e7f1399cb.zip
net: Prefix module imports with prosody namespace
Diffstat (limited to 'net/resolvers')
-rw-r--r--net/resolvers/basic.lua12
-rw-r--r--net/resolvers/service.lua8
2 files changed, 10 insertions, 10 deletions
diff --git a/net/resolvers/basic.lua b/net/resolvers/basic.lua
index 3ef916a2..d9d33310 100644
--- a/net/resolvers/basic.lua
+++ b/net/resolvers/basic.lua
@@ -1,9 +1,9 @@
-local adns = require "net.adns";
-local inet_pton = require "util.net".pton;
-local inet_ntop = require "util.net".ntop;
-local idna_to_ascii = require "util.encodings".idna.to_ascii;
-local promise = require "util.promise";
-local t_move = require "util.table".move;
+local adns = require "prosody.net.adns";
+local inet_pton = require "prosody.util.net".pton;
+local inet_ntop = require "prosody.util.net".ntop;
+local idna_to_ascii = require "prosody.util.encodings".idna.to_ascii;
+local promise = require "prosody.util.promise";
+local t_move = require "prosody.util.table".move;
local methods = {};
local resolver_mt = { __index = methods };
diff --git a/net/resolvers/service.lua b/net/resolvers/service.lua
index 104a45b2..d4318bb5 100644
--- a/net/resolvers/service.lua
+++ b/net/resolvers/service.lua
@@ -1,7 +1,7 @@
-local adns = require "net.adns";
-local basic = require "net.resolvers.basic";
-local inet_pton = require "util.net".pton;
-local idna_to_ascii = require "util.encodings".idna.to_ascii;
+local adns = require "prosody.net.adns";
+local basic = require "prosody.net.resolvers.basic";
+local inet_pton = require "prosody.util.net".pton;
+local idna_to_ascii = require "prosody.util.encodings".idna.to_ascii;
local methods = {};
local resolver_mt = { __index = methods };