Software / code / prosody
Comparison
prosodyctl @ 6722:d022cb4486bd
Merge 0.10->trunk
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 19 May 2015 09:31:12 +0100 |
| parent | 6711:76683a3f3d75 |
| child | 6751:18f18bceb662 |
comparison
equal
deleted
inserted
replaced
| 6705:c269ab6ab98a | 6722:d022cb4486bd |
|---|---|
| 576 or "Not installed"; | 576 or "Not installed"; |
| 577 print("LuaRocks: ", luarocks_status); | 577 print("LuaRocks: ", luarocks_status); |
| 578 print(""); | 578 print(""); |
| 579 print("# Lua module versions"); | 579 print("# Lua module versions"); |
| 580 local module_versions, longest_name = {}, 8; | 580 local module_versions, longest_name = {}, 8; |
| 581 local luaevent =dependencies.softreq"luaevent"; | |
| 582 local ssl = dependencies.softreq"ssl"; | |
| 581 for name, module in pairs(package.loaded) do | 583 for name, module in pairs(package.loaded) do |
| 582 if type(module) == "table" and rawget(module, "_VERSION") | 584 if type(module) == "table" and rawget(module, "_VERSION") |
| 583 and name ~= "_G" and not name:match("%.") then | 585 and name ~= "_G" and not name:match("%.") then |
| 584 if #name > longest_name then | 586 if #name > longest_name then |
| 585 longest_name = #name; | 587 longest_name = #name; |