aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Duarte <jvsDuarte08@gmail.com>2019-06-07 11:46:19 +0100
committerJoão Duarte <jvsDuarte08@gmail.com>2019-06-07 11:46:19 +0100
commit83ca8aef547856ab0caead6f9f999f642818de95 (patch)
tree2666c8a55bd55d0a59de51288fb213976830e6ca
parent66bb4ab4494853abfad5a53854355f03d4b7ae6e (diff)
downloadprosody-83ca8aef547856ab0caead6f9f999f642818de95.tar.gz
prosody-83ca8aef547856ab0caead6f9f999f642818de95.zip
prosodyctl: The 'test' function now also prints which plugins are enabled
-rwxr-xr-xprosodyctl2
1 files changed, 2 insertions, 0 deletions
diff --git a/prosodyctl b/prosodyctl
index db7b0dc4..4036c59a 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -87,6 +87,8 @@ local command = table.remove(arg, 1);
function commands.test()
show_message [[Well, hello there!]]
+ --show_message [[Enabled Plugins: ], modulemanager.get_modules_for_host()]
+ show_warning("Trying to peek at the plugin directory: '%s'", modulemanager.get_modules_for_host())
end
function commands.adduser(arg)