prosodyctl: Soft-require LuaSec and LuaEvent so they show up in the module version listing
authorKim Alvefur <zash@zash.se>
Mon, 18 May 2015 22:04:12 +0200
changeset 6714 76683a3f3d75
parent 6713 d062314446f6
child 6715 29d5875ae38d
prosodyctl: Soft-require LuaSec and LuaEvent so they show up in the module version listing
prosodyctl
--- a/prosodyctl	Mon May 18 21:48:58 2015 +0200
+++ b/prosodyctl	Mon May 18 22:04:12 2015 +0200
@@ -578,6 +578,8 @@
 	print("");
 	print("# Lua module versions");
 	local module_versions, longest_name = {}, 8;
+	local luaevent =dependencies.softreq"luaevent";
+	local ssl = dependencies.softreq"ssl";
 	for name, module in pairs(package.loaded) do
 		if type(module) == "table" and rawget(module, "_VERSION")
 		and name ~= "_G" and not name:match("%.") then