Software /
code /
prosody-modules
Changeset
4605:ffb709728210
mod_welcome_page: Add dependency on mod_http_libjs
It doesn't look very nice without it.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 29 Jun 2021 12:42:23 +0200 |
parents | 4604:f0efbb0b0b5b |
children | 4606:d6eb2b722b90 |
files | mod_welcome_page/README.markdown mod_welcome_page/mod_welcome_page.lua |
diffstat | 2 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_welcome_page/README.markdown Tue Jun 29 12:41:43 2021 +0200 +++ b/mod_welcome_page/README.markdown Tue Jun 29 12:42:23 2021 +0200 @@ -5,6 +5,7 @@ rockspec: dependencies: - mod_invites + - mod_http_libjs build: copy_directories: - html
--- a/mod_welcome_page/mod_welcome_page.lua Tue Jun 29 12:41:43 2021 +0200 +++ b/mod_welcome_page/mod_welcome_page.lua Tue Jun 29 12:42:23 2021 +0200 @@ -11,6 +11,7 @@ local open_registration = module:get_option_boolean("welcome_page_open_registration", not invite_only); module:depends("http"); +module:depends("http_libjs"); local invites = module:depends("invites"); local function load_template(path)