Changeset

10123:5d132d4aac55

prosodyctl: The 'test' function now also prints which plugins are enabled
author João Duarte <jvsDuarte08@gmail.com>
date Fri, 07 Jun 2019 11:46:19 +0100
parents 10122:95814c597836
children 10124:5a3611218709
files prosodyctl
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/prosodyctl	Fri Jun 07 11:36:13 2019 +0100
+++ b/prosodyctl	Fri Jun 07 11:46:19 2019 +0100
@@ -87,6 +87,8 @@
 
 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)