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 | e1aa25912f064363e531029ef05b5a62b47361c1 (patch) | |
tree | 3ad71abbd0bb9ae8f1c7aaf3d92f592cb5a3ba9f /prosodyctl | |
parent | 72dde1c231c9d71c5ae5fe1d2d5fafc029e32c17 (diff) | |
download | prosody-e1aa25912f064363e531029ef05b5a62b47361c1.tar.gz prosody-e1aa25912f064363e531029ef05b5a62b47361c1.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 |