mod_firewall/conditions.lib.lua
changeset 979 cec42f884475
parent 971 53e158e44a44
child 997 69dd4e4e54a2
--- 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)