# HG changeset patch # User Kim Alvefur # Date 1457349202 -3600 # Node ID c49f69bb68f73af08bf37ba55802f2d354e6742d # Parent 8c6943918279b9509a1401023ab395c6ed5f11b6 prosodyctl: Include libevent version in "about" output if luaevent is available diff -r 8c6943918279 -r c49f69bb68f7 prosodyctl --- a/prosodyctl Sun Mar 06 18:51:11 2016 +0100 +++ b/prosodyctl Mon Mar 07 12:13:22 2016 +0100 @@ -590,6 +590,9 @@ 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]);