From 1a1d74a1b2c5d852b5b67a916a85068d6c9775b8 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 7 Mar 2016 12:13:22 +0100 Subject: 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]); -- cgit v1.2.3