aboutsummaryrefslogtreecommitdiffstats
path: root/util/prosodyctl/check.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/prosodyctl/check.lua')
-rw-r--r--util/prosodyctl/check.lua2
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;