Diff

mod_http_muc_log/mod_http_muc_log.lua @ 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
parent 3750:9002c8a2165f
child 3892:96a2e5097fc4
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;