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
commite1aa25912f064363e531029ef05b5a62b47361c1 (patch)
tree3ad71abbd0bb9ae8f1c7aaf3d92f592cb5a3ba9f
parent72dde1c231c9d71c5ae5fe1d2d5fafc029e32c17 (diff)
downloadprosody-e1aa25912f064363e531029ef05b5a62b47361c1.tar.gz
prosody-e1aa25912f064363e531029ef05b5a62b47361c1.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