changeset 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
parents 9e784ddac236
children 9f6cd252d233
files mod_http_muc_log/mod_http_muc_log.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_http_muc_log/mod_http_muc_log.lua	Tue Dec 02 14:14:38 2014 +0100
+++ b/mod_http_muc_log/mod_http_muc_log.lua	Tue Dec 02 14:17:08 2014 +0100
@@ -206,7 +206,7 @@
 	return (room
 		and not (room.get_hidden or room.is_hidden)(room)
 		and not (room.get_members_only or room.is_members_only)(room)
-		and room._data.logging ~= false);
+		and room._data.logging == true);
 end
 
 -- FIXME Invent some more efficient API for this