Software /
code /
prosody
Changeset
12151:669d93f1db6a
mod_invites: Comment on module loading for HTTP invite URLs
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 05 Jan 2022 22:37:42 +0100 |
parents | 12150:653a48b5a25b |
children | 12152:0939675955f1 |
files | plugins/mod_invites.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_invites.lua Thu Sep 16 09:52:51 2021 +0200 +++ b/plugins/mod_invites.lua Wed Jan 05 22:37:42 2022 +0100 @@ -250,6 +250,7 @@ -- 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);