rules: if a client has not the property we search: dont match

Signed-off-by: Cedric GESTES <ctaf42@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Cedric GESTES 2009-09-03 19:21:59 +02:00 committed by Julien Danjou
parent 6511042f82
commit 1df4f1c66c
1 changed files with 2 additions and 0 deletions

View File

@ -71,6 +71,8 @@ function match(c, rule)
elseif c[field] ~= value then elseif c[field] ~= value then
return false return false
end end
else
return false
end end
end end
return true return true