Software /
code /
prosody-modules
Diff
mod_carbons/mod_carbons.lua @ 900:aca1c5eb0508
mod_carbons: Catch outgoing messages to hosts (thanks waqas)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 18 Jan 2013 10:00:59 +0100 |
parent | 896:d24d87ca3f5f |
child | 1151:28d4b58bcc3b |
line wrap: on
line diff
--- 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