Software /
code /
prosody-modules
Comparison
mod_http_muc_log/mod_http_muc_log.lua @ 2843:53a76c994fc3
mod_http_muc_log: Fix the best comment
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 21 Nov 2017 00:45:23 +0100 |
parent | 2842:263c0b044973 |
child | 2844:9fac07bba402 |
comparison
equal
deleted
inserted
replaced
2842:263c0b044973 | 2843:53a76c994fc3 |
---|---|
181 | 181 |
182 -- Produce the chat log view | 182 -- Produce the chat log view |
183 local function logs_page(event, path) | 183 local function logs_page(event, path) |
184 local response = event.response; | 184 local response = event.response; |
185 | 185 |
186 -- FIXME In the year, 252525, if MUC is still alive, | 186 -- FIXME In the year, 105105, if MUC is still alive, |
187 -- if Prosody can survive... Enjoy this Y10k bug | 187 -- if Prosody can survive... Enjoy this Y10k bug |
188 local room, date = path:match("^(.-)/(%d%d%d%d%-%d%d%-%d%d)$"); | 188 local room, date = path:match("^(.-)/(%d%d%d%d%-%d%d%-%d%d)$"); |
189 room = nodeprep(room); | 189 room = nodeprep(room); |
190 if not room then | 190 if not room then |
191 return years_page(event, path); | 191 return years_page(event, path); |