Mercurial > prosody-modules
changeset 3756:ba4f45b8678f
mod_http_index: Hide http apps that haven't set a title by default
This setting was meant to default to this but by some mistake defaulted
to true.
Apps that haven't set a title might not be meant to be user facing, so
hiding them makes sense.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 23 Nov 2019 04:48:25 +0100 |
parents | bb18a1f5e9d7 |
children | 971417eedfee |
files | mod_http_index/mod_http_index.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_http_index/mod_http_index.lua Thu Nov 21 16:35:31 2019 +0100 +++ b/mod_http_index/mod_http_index.lua Sat Nov 23 04:48:25 2019 +0100 @@ -3,7 +3,7 @@ module:depends"http"; -local show_all = module:get_option_boolean(module.name .. "_show_all", true); +local show_all = module:get_option_boolean(module.name .. "_show_all", false); local base_template; do