Changeset

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
parents 899:4cd018025a26
children 901:e3ad5f3aa6d4
files mod_carbons/mod_carbons.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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