author | Matthew Wild <mwild1@gmail.com> |
Wed, 08 May 2013 10:43:02 +0100 | |
changeset 1001 | c0850793b716 |
parent 1000 | 8f290d50087f |
child 1002 | 225d3ba1eb7b |
--- 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