aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-03-07 16:48:28 +0100
committerKim Alvefur <zash@zash.se>2016-03-07 16:48:28 +0100
commit51aba8fe68050cfcfad2862aa9fb394f3f44002c (patch)
treecf6e79601724c932aa530ca0699725d93f47ab32 /prosodyctl
parent7fc54d8b6628899909ae4c0c50030490caab5abe (diff)
parentdea5da6574310f837ecdb68767c2806c0d983ed2 (diff)
downloadprosody-51aba8fe68050cfcfad2862aa9fb394f3f44002c.tar.gz
prosody-51aba8fe68050cfcfad2862aa9fb394f3f44002c.zip
Merge 0.10->trunk
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl5
1 files changed, 4 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index ef62a9d8..e118502c 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -590,8 +590,11 @@ 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
+ for _, name in ipairs(sorted_keys) do
print(name..":"..string.rep(" ", longest_name-#name), module_versions[name]);
end
print("");