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:
parent
6511042f82
commit
1df4f1c66c
|
@ -71,6 +71,8 @@ function match(c, rule)
|
|||
elseif c[field] ~= value then
|
||||
return false
|
||||
end
|
||||
else
|
||||
return false
|
||||
end
|
||||
end
|
||||
return true
|
||||
|
|
Loading…
Reference in New Issue