Software /
code /
prosody-modules
Diff
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 |
parent | 1037:892272432703 |
child | 1050:a0aff903659b |
line wrap: on
line diff
--- 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();