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 | 6021b5871292b692043b80334ecbe1133965519d (patch) | |
tree | 42093bbb740faacea015438c6335ccae52789ab8 /prosodyctl | |
parent | b12ba155400cc80ff269a100e18bcbdd53f86041 (diff) | |
download | prosody-6021b5871292b692043b80334ecbe1133965519d.tar.gz prosody-6021b5871292b692043b80334ecbe1133965519d.zip |
prosodyctl: Added the 'admin_add' command
Diffstat (limited to 'prosodyctl')
-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) |