aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-01-05 22:37:42 +0100
committerKim Alvefur <zash@zash.se>2022-01-05 22:37:42 +0100
commitf1dd97cb9cb7010fe070221108f95c2113894166 (patch)
treeb838eee2fc529cb6c13e6fccab43bfe3a3626e38 /plugins
parent3b2c39901a24d660aaf3d220448d8a49df5c6fcf (diff)
downloadprosody-f1dd97cb9cb7010fe070221108f95c2113894166.tar.gz
prosody-f1dd97cb9cb7010fe070221108f95c2113894166.zip
mod_invites: Comment on module loading for HTTP invite URLs
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_invites.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_invites.lua b/plugins/mod_invites.lua
index bf8cddec..1f284537 100644
--- a/plugins/mod_invites.lua
+++ b/plugins/mod_invites.lua
@@ -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);