# HG changeset patch # User João Duarte # Date 1561460557 -3600 # Node ID 667f3760330813c3254c292d088342d4bb345dff # Parent 406afedc9375fbb9448e78faa8aa4ee784dedc8a prosodyctl: Added the 'admin_add' command diff -r 406afedc9375 -r 667f37603308 prosodyctl --- a/prosodyctl Tue Jun 25 00:52:12 2019 +0100 +++ b/prosodyctl Tue Jun 25 12:02:37 2019 +0100 @@ -114,6 +114,10 @@ os.execute("luarocks-admin "..tree..operation..server..refresh..modules) end +function commands.admin_add(arg) + admin_operation("add ", arg) +end + function commands.enabled_plugins() for module in modulemanager.get_modules_for_host() do show_warning("%s", module)