Mercurial > prosody-hg
comparison core/modulemanager.lua @ 14044:fc29a8c1f873 13.0
core.modulemanager: Fix shell commands on components
Many commands use a JID or host argument to determine which host to
invoke a command on, but this requires that mod_admin_shell has been
loaded, but this did not happen for components due to the limited set of
inheritable modules.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 14 Jan 2026 20:32:50 +0100 |
| parents | 1a2691bd50bd |
| children |
comparison
equal
deleted
inserted
replaced
| 14043:d8a30fdfbddd | 14044:fc29a8c1f873 |
|---|---|
| 44 "iq", | 44 "iq", |
| 45 "s2s", | 45 "s2s", |
| 46 "s2s_bidi", | 46 "s2s_bidi", |
| 47 "smacks", | 47 "smacks", |
| 48 "server_contact_info", | 48 "server_contact_info", |
| 49 "admin_shell", | |
| 49 }; | 50 }; |
| 50 | 51 |
| 51 -- We need this to let modules access the real global namespace | 52 -- We need this to let modules access the real global namespace |
| 52 local _G = _G; | 53 local _G = _G; |
| 53 | 54 |
