# HG changeset patch # User Kim Alvefur # Date 1643284321 -3600 # Node ID 0795e1ccf3d8f4df5faa1777dc9ae75f3796fe43 # Parent 39043233de046d6f59105abdf30965a7db93f91a util.prosodyctl.check: Fix use of LuaSocket URL parser diff -r 39043233de04 -r 0795e1ccf3d8 util/prosodyctl/check.lua --- a/util/prosodyctl/check.lua Thu Jan 27 12:36:50 2022 +0100 +++ b/util/prosodyctl/check.lua Thu Jan 27 12:52:01 2022 +0100 @@ -625,7 +625,7 @@ 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;