# HG changeset patch # User Matthew Wild # Date 1275481896 -3600 # Node ID 8c6ed6fd2d353f38f801b0eb7502560642009839 # Parent 7b4f180d7c6fd09e10530b64ae1d4507b1ef8707 util.filters: Break processing if a filterer returns nil diff -r 7b4f180d7c6f -r 8c6ed6fd2d35 util/filters.lua --- a/util/filters.lua Wed Jun 02 13:03:55 2010 +0100 +++ b/util/filters.lua Wed Jun 02 13:31:36 2010 +0100 @@ -19,6 +19,7 @@ if filter_list then for i = 1, #filter_list do data = filter_list[i](data); + if data == nil then break; end end end return data;