Mercurial > prosody-hg
diff plugins/mod_admin_shell.lua @ 11602:78ec0741c2bc
mod_admin_shell: module:info: Show module status
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 12 Jun 2021 16:40:22 +0200 |
| parents | 9483728f890f |
| children | 4e24408a3f57 |
line wrap: on
line diff
--- a/plugins/mod_admin_shell.lua Sat Jun 12 16:50:15 2021 +0200 +++ b/plugins/mod_admin_shell.lua Sat Jun 12 16:40:22 2021 +0200 @@ -417,6 +417,9 @@ print("on " .. component_type .. " Component " .. mod.module.host); end print(" path: " .. (mod.module.path or "n/a")); + if mod.module.status_message then + print(" status: [" .. mod.module.status_type .. "] " .. mod.module.status_message); + end end return true; end
