# HG changeset patch # User Kim Alvefur # Date 1641418662 -3600 # Node ID 669d93f1db6af05bcd9dd4042777ed44feae3bbb # Parent 653a48b5a25b17fb3f70b58f54cb06af2fccba8c mod_invites: Comment on module loading for HTTP invite URLs diff -r 653a48b5a25b -r 669d93f1db6a plugins/mod_invites.lua --- 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);