Changeset

3757:971417eedfee

mod_http_muc_log: Set a http app title Integrate with mod_http_index
author Kim Alvefur <zash@zash.se>
date Sat, 23 Nov 2019 04:52:43 +0100
parents 3756:ba4f45b8678f
children 3758:900ea02ab00b
files mod_http_muc_log/mod_http_muc_log.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_http_muc_log/mod_http_muc_log.lua	Sat Nov 23 04:48:25 2019 +0100
+++ b/mod_http_muc_log/mod_http_muc_log.lua	Sat Nov 23 04:52:43 2019 +0100
@@ -436,6 +436,7 @@
 end
 
 module:provides("http", {
+	title = module:get_option_string("name", "Chatroom logs");
 	route = {
 		["GET /"] = list_rooms;
 		["GET /*"] = logs_page;