comparison mod_muc_log/mod_muc_log.lua @ 1041:7153b723fd87

mod_muc_limits: _Fixing_ mistake in MattJ's merge and in the same time handing him a coffee cup.
author Marco Cirillo <maranda@lightwitch.org>
date Sun, 02 Jun 2013 02:32:21 +0200
parents 892272432703
children a0aff903659b
comparison
equal deleted inserted replaced
1040:6574303a8169 1041:7153b723fd87
117 end 117 end
118 end 118 end
119 119
120 module:hook("message/bare", log_if_needed, 1); 120 module:hook("message/bare", log_if_needed, 1);
121 module:hook("iq/bare", log_if_needed, 1); 121 module:hook("iq/bare", log_if_needed, 1);
122 module:hook("presence/full", log_if_needed, 1); 122 if log_presences then module:hook("presence/full", log_if_needed, 1); end
123 123
124 local function reload() 124 local function reload()
125 inject_storage_config(); 125 inject_storage_config();
126 end 126 end
127 127