diff mod_muc_limits/mod_muc_limits.lua @ 1040:6574303a8169

mod_muc_limits: Increase hook priority
author Matthew Wild <mwild1@gmail.com>
date Sat, 01 Jun 2013 23:36:14 +0100
parents edb06824a5a4
children 5fd0860c86cd
line wrap: on
line diff
--- a/mod_muc_limits/mod_muc_limits.lua	Sat Jun 01 23:29:21 2013 +0100
+++ b/mod_muc_limits/mod_muc_limits.lua	Sat Jun 01 23:36:14 2013 +0100
@@ -73,7 +73,7 @@
 	end
 end
 
-module:hook("message/bare", handle_stanza, 10);
-module:hook("message/full", handle_stanza, 10);
-module:hook("presence/bare", handle_stanza, 10);
-module:hook("presence/full", handle_stanza, 10);
+module:hook("message/bare", handle_stanza, 501);
+module:hook("message/full", handle_stanza, 501);
+module:hook("presence/bare", handle_stanza, 501);
+module:hook("presence/full", handle_stanza, 501);