diff options
author | Kim Alvefur <zash@zash.se> | 2015-05-18 22:04:12 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-05-18 22:04:12 +0200 |
commit | af7c48e1ec41e75665efdfaa458cca30c3a638cd (patch) | |
tree | 3ad71abbd0bb9ae8f1c7aaf3d92f592cb5a3ba9f /prosodyctl | |
parent | 5085777f131d02ed006bf0b47ff26781c269cf82 (diff) | |
download | prosody-af7c48e1ec41e75665efdfaa458cca30c3a638cd.tar.gz prosody-af7c48e1ec41e75665efdfaa458cca30c3a638cd.zip |
prosodyctl: Soft-require LuaSec and LuaEvent so they show up in the module version listing
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |