diff options
author | Kim Alvefur <zash@zash.se> | 2016-03-07 12:13:22 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-03-07 12:13:22 +0100 |
commit | 1a1d74a1b2c5d852b5b67a916a85068d6c9775b8 (patch) | |
tree | ccdb54397eaead5c7fe6650864df28eaf1cd3bcf | |
parent | da4afcbab756e737eefb53ddbe18f80b31115276 (diff) | |
download | prosody-1a1d74a1b2c5d852b5b67a916a85068d6c9775b8.tar.gz prosody-1a1d74a1b2c5d852b5b67a916a85068d6c9775b8.zip |
prosodyctl: Include libevent version in "about" output if luaevent is available
-rwxr-xr-x | prosodyctl | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -590,6 +590,9 @@ function commands.about(arg) module_versions[name] = module._VERSION; end end + if luaevent then + module_versions["libevent"] = luaevent.core.libevent_version(); + end local sorted_keys = array.collect(keys(module_versions)):sort(); for _, name in ipairs(array.collect(keys(module_versions)):sort()) do print(name..":"..string.rep(" ", longest_name-#name), module_versions[name]); |