From 42eec522a3a327185ee358ac77cf894e93c221e8 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 5 Oct 2020 21:24:14 +0200 Subject: util.prosodyctl: Get Luarocks server from config --- prosodyctl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/prosodyctl b/prosodyctl index ca631047..c74a04d1 100755 --- a/prosodyctl +++ b/prosodyctl @@ -78,7 +78,8 @@ function commands.install(arg) show_usage([[install]], [[Installs a prosody/luarocks plugin]]); return 1; end - call_luarocks("install", arg[1], "http://localhost/"); + -- TODO finalize config option name + call_luarocks("install", arg[1], configmanager.get("*", "plugin_server") or "http://localhost/"); end function commands.remove(arg) -- cgit v1.2.3