Software /
code /
prosody
Comparison
prosodyctl @ 9992:9d6baacdd8e6
Merge 0.11->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 03 May 2019 18:14:14 +0200 |
parent | 9857:3af3a702c54c |
parent | 9991:8cd180dc18a8 |
child | 10064:1acfd25cd507 |
child | 10122:95814c597836 |
comparison
equal
deleted
inserted
replaced
9990:f122972b77b2 | 9992:9d6baacdd8e6 |
---|---|
400 print(""); | 400 print(""); |
401 print("# Lua module versions"); | 401 print("# Lua module versions"); |
402 local module_versions, longest_name = {}, 8; | 402 local module_versions, longest_name = {}, 8; |
403 local luaevent =dependencies.softreq"luaevent"; | 403 local luaevent =dependencies.softreq"luaevent"; |
404 dependencies.softreq"ssl"; | 404 dependencies.softreq"ssl"; |
405 dependencies.softreq"DBI"; | |
405 for name, module in pairs(package.loaded) do | 406 for name, module in pairs(package.loaded) do |
406 if type(module) == "table" and rawget(module, "_VERSION") | 407 if type(module) == "table" and rawget(module, "_VERSION") |
407 and name ~= "_G" and not name:match("%.") then | 408 and name ~= "_G" and not name:match("%.") then |
408 if #name > longest_name then | 409 if #name > longest_name then |
409 longest_name = #name; | 410 longest_name = #name; |