mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_invites: Comment on module loading for HTTP invite URLs
This commit is contained in:
parent
3b2c39901a
commit
f1dd97cb9c
1 changed files with 1 additions and 0 deletions
|
@ -250,6 +250,7 @@ function module.command(arg)
|
|||
|
||||
-- Load mod_invites
|
||||
local invites = module:depends("invites");
|
||||
-- Optional community module that if used, needs to be loaded here
|
||||
local invites_page_module = module:get_option_string("invites_page_module", "invites_page");
|
||||
if mm.get_modules_for_host(host):contains(invites_page_module) then
|
||||
module:depends(invites_page_module);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue