aboutsummaryrefslogtreecommitdiffstats
path: root/util/rfc6724.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-03-17 16:23:16 +0100
committerKim Alvefur <zash@zash.se>2023-03-17 16:23:16 +0100
commit43531740f99da82f023bee26d954fc71bde94635 (patch)
tree558068f570448be5d36fc90cd52b530e33c7c324 /util/rfc6724.lua
parent869581384d74b506b026c70584a7338e7f1399cb (diff)
downloadprosody-43531740f99da82f023bee26d954fc71bde94635.tar.gz
prosody-43531740f99da82f023bee26d954fc71bde94635.zip
util: Prefix module imports with prosody namespace
Diffstat (limited to 'util/rfc6724.lua')
-rw-r--r--util/rfc6724.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/rfc6724.lua b/util/rfc6724.lua
index 81f78d55..33477ed7 100644
--- a/util/rfc6724.lua
+++ b/util/rfc6724.lua
@@ -9,7 +9,7 @@
-- during S2S connections.
-- We can't hand this off to getaddrinfo, since it blocks
-local ip_commonPrefixLength = require"util.ip".commonPrefixLength
+local ip_commonPrefixLength = require"prosody.util.ip".commonPrefixLength
local function commonPrefixLength(ipA, ipB)
local len = ip_commonPrefixLength(ipA, ipB);