mod_muc_limits: _Fixing_ mistake in MattJ's merge and in the same time handing him a coffee cup.
authorMarco Cirillo <maranda@lightwitch.org>
Sun, 02 Jun 2013 02:32:21 +0200
changeset 1041 7153b723fd87
parent 1040 6574303a8169
child 1042 5fd0860c86cd
mod_muc_limits: _Fixing_ mistake in MattJ's merge and in the same time handing him a coffee cup.
mod_muc_log/mod_muc_log.lua
--- a/mod_muc_log/mod_muc_log.lua	Sat Jun 01 23:36:14 2013 +0100
+++ b/mod_muc_log/mod_muc_log.lua	Sun Jun 02 02:32:21 2013 +0200
@@ -119,7 +119,7 @@
 
 module:hook("message/bare", log_if_needed, 1);
 module:hook("iq/bare", log_if_needed, 1);
-module:hook("presence/full", log_if_needed, 1);
+if log_presences then module:hook("presence/full", log_if_needed, 1); end
 
 local function reload()
 	inject_storage_config();