mod_http_muc_log/mod_http_muc_log.lua
changeset 2767 a6d19aea9b73
parent 2689 cd5781ca782d
child 2830 ed26608920d4
equal deleted inserted replaced
2766:f2096c03428b 2767:a6d19aea9b73
    52 	if type(room) == "string" then
    52 	if type(room) == "string" then
    53 		room = get_room(room);
    53 		room = get_room(room);
    54 	end
    54 	end
    55 	return (room
    55 	return (room
    56 		and not (room.get_hidden or room.is_hidden)(room)
    56 		and not (room.get_hidden or room.is_hidden)(room)
    57 		and not (room.get_members_only or room.is_members_only)(room)
    57 		and not (room.get_members_only or room.is_members_only)(room))
    58 		and room._data.logging == true);
       
    59 end
    58 end
    60 
    59 
    61 local function sort_Y(a,b) return a.year > b.year end
    60 local function sort_Y(a,b) return a.year > b.year end
    62 local function sort_m(a,b) return a.n > b.n end
    61 local function sort_m(a,b) return a.n > b.n end
    63 
    62