equal
deleted
inserted
replaced
229 local function logs_page(event, path) |
229 local function logs_page(event, path) |
230 local request, response = event.request, event.response; |
230 local request, response = event.request, event.response; |
231 |
231 |
232 -- FIXME In the year, 105105, if MUC is still alive, |
232 -- FIXME In the year, 105105, if MUC is still alive, |
233 -- if Prosody can survive... Enjoy this Y10k bug |
233 -- if Prosody can survive... Enjoy this Y10k bug |
234 local room, date = path:match("^(.-)/(%d%d%d%d%-%d%d%-%d%d)$"); |
234 local room, date = path:match("^(.-)/(%d%d%d%d%-%d%d%-%d%d)/?$"); |
235 room = nodeprep(room); |
235 room = nodeprep(room); |
236 if not room then |
236 if not room then |
237 return years_page(event, path); |
237 return years_page(event, path); |
238 end |
238 end |
239 local is_open = open_room(room); |
239 local is_open = open_room(room); |