prosodyctl
changeset 10150 903db0fcb716
parent 10149 0fcd251a27e5
child 10151 1a35b3a2b11b
equal deleted inserted replaced
10149:0fcd251a27e5 10150:903db0fcb716
   217   if arg[1] == "--help" then
   217   if arg[1] == "--help" then
   218     show_usage([[enabled_plugins]], [[Shows plugins currently enabled on prosody]]);
   218     show_usage([[enabled_plugins]], [[Shows plugins currently enabled on prosody]]);
   219     return 1;
   219     return 1;
   220 	end
   220 	end
   221 	for module in modulemanager.get_modules_for_host() do
   221 	for module in modulemanager.get_modules_for_host() do
   222 		show_warning("%s", module)  
   222 		show_warning("%s", module)
   223 	end
   223 	end
   224 end
   224 end
   225 
   225 
   226 function commands.local_plugins(arg)
   226 function commands.local_plugins(arg)
   227   if arg[1] == "--help" then
   227   if arg[1] == "--help" then