diff options
author | João Duarte <jvsDuarte08@gmail.com> | 2019-06-07 13:09:01 +0100 |
---|---|---|
committer | João Duarte <jvsDuarte08@gmail.com> | 2019-06-07 13:09:01 +0100 |
commit | 8025f98427a23a64f3dd303aedde6fcc8d5ea688 (patch) | |
tree | aff73c095936be147c0c7f99a86b3af3fb757ca7 | |
parent | cf25afe5b143eea8b1ca7d74462965d6e8184b2c (diff) | |
download | prosody-8025f98427a23a64f3dd303aedde6fcc8d5ea688.tar.gz prosody-8025f98427a23a64f3dd303aedde6fcc8d5ea688.zip |
prosodyctl: Renamed the command function 'test' to 'enabled_plugins', which now only shows the plugins, in a list
-rwxr-xr-x | prosodyctl | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -85,9 +85,10 @@ local prosodyctl_timeout = (configmanager.get("*", "prosodyctl_timeout") or 5) * local commands = {}; local command = table.remove(arg, 1); -function commands.test() - show_message [[Well, hello there!]] - show_warning("Trying to peek at the plugin directory: '%s'", modulemanager.get_modules_for_host()) +function commands.enabled_plugins() + for module in modulemanager.get_modules_for_host() do + show_warning("%s", module) + end end function commands.local_plugins() |