diff options
author | Jo?o Duarte <jvsDuarte08@gmail.com> | 2019-06-25 12:02:37 +0100 |
---|---|---|
committer | Jo?o Duarte <jvsDuarte08@gmail.com> | 2019-06-25 12:02:37 +0100 |
commit | 7673a68043b3e8682a82003780c2112fbf28321e (patch) | |
tree | 42093bbb740faacea015438c6335ccae52789ab8 | |
parent | 554f3210e10ed9fad88f5e37f859fe7396fe984f (diff) | |
download | prosody-7673a68043b3e8682a82003780c2112fbf28321e.tar.gz prosody-7673a68043b3e8682a82003780c2112fbf28321e.zip |
prosodyctl: Added the 'admin_add' command
-rwxr-xr-x | prosodyctl | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -114,6 +114,10 @@ function admin_operation(operation, arg) 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) |