mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 22:27:38 +03:00
mod_admin_shell: module:info: Show module status
This commit is contained in:
parent
3fdf0f66ab
commit
bf565c76f6
1 changed files with 3 additions and 0 deletions
|
@ -417,6 +417,9 @@ function def_env.module:info(name, hosts)
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue