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 | 58a7a62a8e10e4e9c0f9f2504af4bdfcc190470c (patch) | |
tree | ccdb54397eaead5c7fe6650864df28eaf1cd3bcf /prosodyctl | |
parent | 3f2145c47781bd36e26d98e9003ef6406fc987a3 (diff) | |
download | prosody-58a7a62a8e10e4e9c0f9f2504af4bdfcc190470c.tar.gz prosody-58a7a62a8e10e4e9c0f9f2504af4bdfcc190470c.zip |
prosodyctl: Include libevent version in "about" output if luaevent is available
Diffstat (limited to 'prosodyctl')
-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]); |