Comparison

net/resolvers/basic.lua @ 12974:ba409c67353b

net: Prefix module imports with prosody namespace
author Kim Alvefur <zash@zash.se>
date Fri, 17 Mar 2023 16:23:12 +0100
parent 12815:2d134201dc55
comparison
equal deleted inserted replaced
12973:cc215923297f 12974:ba409c67353b
1 local adns = require "net.adns"; 1 local adns = require "prosody.net.adns";
2 local inet_pton = require "util.net".pton; 2 local inet_pton = require "prosody.util.net".pton;
3 local inet_ntop = require "util.net".ntop; 3 local inet_ntop = require "prosody.util.net".ntop;
4 local idna_to_ascii = require "util.encodings".idna.to_ascii; 4 local idna_to_ascii = require "prosody.util.encodings".idna.to_ascii;
5 local promise = require "util.promise"; 5 local promise = require "prosody.util.promise";
6 local t_move = require "util.table".move; 6 local t_move = require "prosody.util.table".move;
7 7
8 local methods = {}; 8 local methods = {};
9 local resolver_mt = { __index = methods }; 9 local resolver_mt = { __index = methods };
10 10
11 -- FIXME RFC 6724 11 -- FIXME RFC 6724