Software /
code /
prosody
Diff
prosodyctl @ 6711:76683a3f3d75
prosodyctl: Soft-require LuaSec and LuaEvent so they show up in the module version listing
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 18 May 2015 22:04:12 +0200 |
parent | 6637:ecc039288edc |
child | 6751:18f18bceb662 |
line wrap: on
line diff
--- 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