# HG changeset patch # User Kim Alvefur # Date 1623508840 -7200 # Node ID 4e24408a3f57b1693bbbb1c610885544bbcc90c4 # Parent 78ec0741c2bc7e7de469855a815d1d12af2a7d44 mod_admin_shell: module:info: List dependencies diff -r 78ec0741c2bc -r 4e24408a3f57 plugins/mod_admin_shell.lua --- a/plugins/mod_admin_shell.lua Sat Jun 12 16:40:22 2021 +0200 +++ b/plugins/mod_admin_shell.lua Sat Jun 12 16:40:40 2021 +0200 @@ -420,6 +420,12 @@ if mod.module.status_message then print(" status: [" .. mod.module.status_type .. "] " .. mod.module.status_message); end + if mod.module.dependencies and next(mod.module.dependencies) ~= nil then + print(" dependencies:"); + for dep in pairs(mod.module.dependencies) do + print(" - mod_" .. dep); + end + end end return true; end