aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-05-18 22:04:12 +0200
committerKim Alvefur <zash@zash.se>2015-05-18 22:04:12 +0200
commitaf7c48e1ec41e75665efdfaa458cca30c3a638cd (patch)
tree3ad71abbd0bb9ae8f1c7aaf3d92f592cb5a3ba9f
parent5085777f131d02ed006bf0b47ff26781c269cf82 (diff)
downloadprosody-af7c48e1ec41e75665efdfaa458cca30c3a638cd.tar.gz
prosody-af7c48e1ec41e75665efdfaa458cca30c3a638cd.zip
prosodyctl: Soft-require LuaSec and LuaEvent so they show up in the module version listing
-rwxr-xr-xprosodyctl2
1 files changed, 2 insertions, 0 deletions
diff --git a/prosodyctl b/prosodyctl
index ef436106..6c4b148a 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -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