# HG changeset patch # User Kim Alvefur # Date 1479420629 -3600 # Node ID b41957bf4fd3ccf5a98d5a6a7a9eeb9f99645adf # Parent 5fe483b73fd237c6e51a660e7ace0f1da29c7a20 mod_carbons: Adjust event hook priorities to be between mod_message and mod_firewall (see #669) diff -r 5fe483b73fd2 -r b41957bf4fd3 mod_carbons/mod_carbons.lua --- a/mod_carbons/mod_carbons.lua Tue Nov 15 21:55:12 2016 +0000 +++ b/mod_carbons/mod_carbons.lua Thu Nov 17 23:10:29 2016 +0100 @@ -122,12 +122,12 @@ end -- Stanzas sent by local clients -module:hook("pre-message/host", c2s_message_handler, 1); -module:hook("pre-message/bare", c2s_message_handler, 1); -module:hook("pre-message/full", c2s_message_handler, 1); +module:hook("pre-message/host", c2s_message_handler, 0.05); +module:hook("pre-message/bare", c2s_message_handler, 0.05); +module:hook("pre-message/full", c2s_message_handler, 0.05); -- Stanzas to local clients -module:hook("message/bare", message_handler, 1); -module:hook("message/full", message_handler, 1); +module:hook("message/bare", message_handler, 0.05); +module:hook("message/full", message_handler, 0.05); module:add_feature(xmlns_carbons); module:add_feature(xmlns_carbons_old);