diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-06-02 13:31:36 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-06-02 13:31:36 +0100 |
commit | 22af4660060be3b7ed7a32e3ee6bfe1f126b2ada (patch) | |
tree | c5b302d1a3f850249986e8bb6d1991bcc6f9bbe0 /util | |
parent | faf2be988f1e0f39490ad64e8c6781e6eece30a9 (diff) | |
download | prosody-22af4660060be3b7ed7a32e3ee6bfe1f126b2ada.tar.gz prosody-22af4660060be3b7ed7a32e3ee6bfe1f126b2ada.zip |
util.filters: Break processing if a filterer returns nil
Diffstat (limited to 'util')
-rw-r--r-- | util/filters.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/filters.lua b/util/filters.lua index ee0e6bba..f6a3e77a 100644 --- a/util/filters.lua +++ b/util/filters.lua @@ -19,6 +19,7 @@ function initialize(session) 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; |