mod_http_muc_log: List rooms with logging explicitly enabled
authorKim Alvefur <zash@zash.se>
Tue, 02 Dec 2014 14:17:08 +0100
changeset 1580 63571115302f
parent 1579 9e784ddac236
child 1581 9f6cd252d233
mod_http_muc_log: List rooms with logging explicitly enabled
mod_http_muc_log/mod_http_muc_log.lua
--- 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