changeset 1001 | c0850793b716 |
parent 999 | 197af8440ffb |
child 1051 | c66ea26e4224 |
--- a/mod_firewall/mod_firewall.lua Wed May 08 02:26:54 2013 +0200 +++ b/mod_firewall/mod_firewall.lua Wed May 08 10:43:02 2013 +0100 @@ -286,7 +286,7 @@ local rule_code = table.concat(rule.actions, "\n\t"); if #rule.conditions > 0 then for i, condition in ipairs(rule.conditions) do - local negated = condition:match("^not%b()$"); + local negated = condition:match("^not%(.+%)$"); if negated then condition = condition:match("^not%((.+)%)$"); end