Changeset

2371:b41957bf4fd3

mod_carbons: Adjust event hook priorities to be between mod_message and mod_firewall (see #669)
author Kim Alvefur <zash@zash.se>
date Thu, 17 Nov 2016 23:10:29 +0100
parents 2370:5fe483b73fd2
children 2372:b1b120e654ff
files mod_carbons/mod_carbons.lua
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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);