mod_muc_ban_ip/mod_muc_ban_ip.lua
changeset 1651 8860405e2af6
parent 1005 591590de34ef
child 1655 933403ee07ec
--- a/mod_muc_ban_ip/mod_muc_ban_ip.lua	Fri Apr 03 23:54:03 2015 +0200
+++ b/mod_muc_ban_ip/mod_muc_ban_ip.lua	Mon Apr 06 22:21:23 2015 +0200
@@ -55,6 +55,6 @@
 end
 
 function module.add_host(module)
-	module:hook("presence/full", check_for_incoming_ban);
-	module:hook("pre-presence/full", check_for_ban);
+	module:hook("presence/full", check_for_incoming_ban, 100);
+	module:hook("pre-presence/full", check_for_ban, 100);
 end