Software /
code /
prosody-modules
Changeset
979:cec42f884475
mod_firewall: The default value of the 'type' attribute on message stanzas is 'normal'
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 08 Apr 2013 17:03:34 +0200 |
parents | 978:c8f4502c764f |
children | 980:aeb11522a44f |
files | mod_firewall/conditions.lib.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)