# HG changeset patch # User Kim Alvefur # Date 1457365708 -3600 # Node ID b74421fe417a6581a689c01bd5f33281e7257c42 # Parent 5e1fe4f0eb9c2f50571d5a971fab4ec7adf633e8# Parent 6ffc9247417a9a00318a1d243c4e421c460afef6 Merge 0.10->trunk diff -r 5e1fe4f0eb9c -r b74421fe417a prosodyctl --- a/prosodyctl Mon Mar 07 13:43:05 2016 +0000 +++ b/prosodyctl Mon Mar 07 16:48:28 2016 +0100 @@ -590,8 +590,11 @@ 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 + for _, name in ipairs(sorted_keys) do print(name..":"..string.rep(" ", longest_name-#name), module_versions[name]); end print("");