Mercurial > prosody-hg
diff plugins/muc/mod_muc.lua @ 14048:f5d415d54064
Merge 13.0->trunk
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 20 Jan 2026 11:13:31 +0000 |
| parents | 356c8ec22e9a ce8ed69c4962 |
| children |
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua Mon Jan 19 12:09:40 2026 +0100 +++ b/plugins/muc/mod_muc.lua Tue Jan 20 11:13:31 2026 +0000 @@ -5,6 +5,7 @@ -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- +--% inherit_modules: mam -- Exposed functions: -- @@ -18,6 +19,7 @@ -- live_rooms() -> room -- shutdown_component() + if module:get_host_type() ~= "component" then error("MUC should be loaded as a component, please see https://prosody.im/doc/components", 0); end
