# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1365433414 -7200
# Node ID cec42f88447559925a8c165ae2a031a07a8bd31e
# Parent  c8f4502c764f69a7a4feb3d4c1922832af440324
mod_firewall: The default value of the 'type' attribute on message stanzas is 'normal'

diff -r c8f4502c764f -r cec42f884475 mod_firewall/conditions.lib.lua
--- a/mod_firewall/conditions.lib.lua	Mon Apr 08 14:45:00 2013 +0100
+++ b/mod_firewall/conditions.lib.lua	Mon Apr 08 17:03:34 2013 +0200
@@ -59,7 +59,7 @@
 end
 
 function condition_handlers.TYPE(type)
-	return compile_comparison_list("(type or (name == 'message' and 'chat') or (name == 'presence' and 'available'))", type), { "type", "name" };
+	return compile_comparison_list("(type or (name == 'message' and 'normal') or (name == 'presence' and 'available'))", type), { "type", "name" };
 end
 
 local function zone_check(zone, which)