mod_http_muc_log: Set a http app title
authorKim Alvefur <zash@zash.se>
Sat, 23 Nov 2019 04:52:43 +0100
changeset 3761 971417eedfee
parent 3760 ba4f45b8678f
child 3762 900ea02ab00b
mod_http_muc_log: Set a http app title Integrate with mod_http_index
mod_http_muc_log/mod_http_muc_log.lua
--- 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;