diff options
author | Kim Alvefur <zash@zash.se> | 2022-01-27 12:52:01 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-01-27 12:52:01 +0100 |
commit | cde551332e04d72a258006dda7db4beab84a2a60 (patch) | |
tree | a15f4d5efbe77cb6634cfc2ba4d30fa115b50f60 | |
parent | 0448e825130dc890f1fcee0229455520538a614e (diff) | |
download | prosody-cde551332e04d72a258006dda7db4beab84a2a60.tar.gz prosody-cde551332e04d72a258006dda7db4beab84a2a60.zip |
util.prosodyctl.check: Fix use of LuaSocket URL parser
-rw-r--r-- | util/prosodyctl/check.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/prosodyctl/check.lua b/util/prosodyctl/check.lua index 1b1a26cc..ef72f440 100644 --- a/util/prosodyctl/check.lua +++ b/util/prosodyctl/check.lua @@ -625,7 +625,7 @@ local function check(arg) local http_internal_host = http_host; local http_url = configmanager.get(host, "http_external_url"); if http_url then - local url_parse = require "socket.url"; + local url_parse = require "socket.url".parse; local external_url_parts = url_parse(http_url); if external_url_parts then http_host = external_url_parts.host; |