diff options
author | Kim Alvefur <zash@zash.se> | 2020-10-05 21:24:14 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-10-05 21:24:14 +0200 |
commit | a55b5ee6040dd6c67e9d9e2346db313ed46dbfc5 (patch) | |
tree | ef5cb4ec1fb70a691a0809df571d554cd5fa957b /prosodyctl | |
parent | 898e99680d37c55d867e29693f49f08ce04a22ed (diff) | |
download | prosody-a55b5ee6040dd6c67e9d9e2346db313ed46dbfc5.tar.gz prosody-a55b5ee6040dd6c67e9d9e2346db313ed46dbfc5.zip |
util.prosodyctl: Get Luarocks server from config
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |