# HG changeset patch # User Matthew Wild # Date 1370121292 -3600 # Node ID a0fbe738317c48a9144b6affc97a6e8b856ce10a # Parent c6d4778bc0e899db93fec0a80e43854cb8becfd1 mod_muc_log: Reduce hook priority to 1 (from 500), we want to log after any plugins have filtered/modified the incoming stanza (thanks Asterix/Maranda) diff -r c6d4778bc0e8 -r a0fbe738317c mod_muc_log/mod_muc_log.lua --- a/mod_muc_log/mod_muc_log.lua Sat Jun 01 23:44:10 2013 +0200 +++ b/mod_muc_log/mod_muc_log.lua Sat Jun 01 22:14:52 2013 +0100 @@ -117,9 +117,9 @@ end end -module:hook("message/bare", log_if_needed, 50); -module:hook("iq/bare", log_if_needed, 50); -if log_presences then module:hook("presence/full", log_if_needed, 50); end +module:hook("message/bare", logIfNeeded, 1); +module:hook("iq/bare", logIfNeeded, 1); +module:hook("presence/full", logIfNeeded, 1); local function reload() inject_storage_config();