prosodyctl: Soft-require LuaSec and LuaEvent so they show up in the module version...
authorKim Alvefur <zash@zash.se>
Mon, 18 May 2015 20:04:12 +0000 (22:04 +0200)
committerKim Alvefur <zash@zash.se>
Mon, 18 May 2015 20:04:12 +0000 (22:04 +0200)
prosodyctl

index ef436106948a2ae316172a3b610cce2db8e7c0e8..6c4b148a927105b37e8eb3a54a6fe61b2907c245 100755 (executable)
@@ -578,6 +578,8 @@ function commands.about(arg)
        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