Mercurial > prosody-modules
changeset 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 | 6574303a8169 |
children | 5fd0860c86cd |
files | mod_muc_log/mod_muc_log.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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();