prosodyctl
changeset 11139 56490ffde93f
parent 11138 3e3f22043552
child 11251 4e803e80d7b1
--- a/prosodyctl	Mon Oct 05 21:24:07 2020 +0200
+++ b/prosodyctl	Mon Oct 05 21:24:14 2020 +0200
@@ -78,7 +78,8 @@
 		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)