# HG changeset patch # User Kim Alvefur # Date 1358499659 -3600 # Node ID aca1c5eb050871665c04e32076cfe63e26c5dbb3 # Parent 4cd018025a261389c3cb35212dcba7c464b71aa2 mod_carbons: Catch outgoing messages to hosts (thanks waqas) diff -r 4cd018025a26 -r aca1c5eb0508 mod_carbons/mod_carbons.lua --- a/mod_carbons/mod_carbons.lua Wed Jan 16 08:35:13 2013 +0100 +++ b/mod_carbons/mod_carbons.lua Fri Jan 18 10:00:59 2013 +0100 @@ -129,6 +129,7 @@ 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); -- Stanzas to local clients