aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xprosodyctl7
1 files changed, 4 insertions, 3 deletions
diff --git a/prosodyctl b/prosodyctl
index 00d24b1c..a7300973 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -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()