# HG changeset patch # User Matthew Wild # Date 1368006182 -3600 # Node ID c0850793b7168c39e47744726677ab37f0e343f1 # Parent 8f290d50087f7fa8d95930474d8e9c68daba94b9 mod_firewall: don't use %b() (not technically correct) diff -r 8f290d50087f -r c0850793b716 mod_firewall/mod_firewall.lua --- 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