Comparison

mod_http_muc_log/mod_http_muc_log.lua @ 1580:63571115302f

mod_http_muc_log: List rooms with logging explicitly enabled
author Kim Alvefur <zash@zash.se>
date Tue, 02 Dec 2014 14:17:08 +0100
parent 1579:9e784ddac236
child 1581:9f6cd252d233
comparison
equal deleted inserted replaced
1579:9e784ddac236 1580:63571115302f
204 room = get_room(room); 204 room = get_room(room);
205 end 205 end
206 return (room 206 return (room
207 and not (room.get_hidden or room.is_hidden)(room) 207 and not (room.get_hidden or room.is_hidden)(room)
208 and not (room.get_members_only or room.is_members_only)(room) 208 and not (room.get_members_only or room.is_members_only)(room)
209 and room._data.logging ~= false); 209 and room._data.logging == true);
210 end 210 end
211 211
212 -- FIXME Invent some more efficient API for this 212 -- FIXME Invent some more efficient API for this
213 local function dates_page(event, path) 213 local function dates_page(event, path)
214 local request, response = event.request, event.response; 214 local request, response = event.request, event.response;