From 96fb5b9c4c14be52172893a1dbb9fc9154d89f16 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 7 Mar 2016 12:13:22 +0100 Subject: [PATCH] prosodyctl: Include libevent version in "about" output if luaevent is available --- prosodyctl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/prosodyctl b/prosodyctl index f0f8beb1..f58c3abc 100755 --- a/prosodyctl +++ b/prosodyctl @@ -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]); -- 2.30.2