# HG changeset patch # User Kim Alvefur # Date 1527532602 -7200 # Node ID 37a78e365b462ddaeb8fc1b1cb40e49719d08fd4 # Parent 25eecbb195d9517bd8ee29dd44ffd50b3401125c mod_http_muc_log: Fix inverted logic diff -r 25eecbb195d9 -r 37a78e365b46 mod_http_muc_log/mod_http_muc_log.lua --- a/mod_http_muc_log/mod_http_muc_log.lua Mon May 28 20:21:39 2018 +0200 +++ b/mod_http_muc_log/mod_http_muc_log.lua Mon May 28 20:36:42 2018 +0200 @@ -302,7 +302,7 @@ local response = event.response; local room_list, i = {}, 1; for room in each_room() do - if (room.get_hidden or room.is_hidden)(room) then + if not (room.get_hidden or room.is_hidden)(room) then room_list[i], i = { href = get_link(jid_split(room.jid), nil); name = room:get_name();