mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
util.prosodyctl: Get Luarocks server from config
This commit is contained in:
parent
28aadca557
commit
42eec522a3
1 changed files with 2 additions and 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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue