diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-09-30 23:46:38 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-09-30 23:46:38 +0100 |
commit | 6f46b6cd1a2f6cc65a55cbca524c664b78f219f5 (patch) | |
tree | 07c9d79a25f5a40711ae1fb80c3d0c61a234f23f | |
parent | e8380a3cd2a3747554ac3da1b1c106344b484f0b (diff) | |
parent | 6b44449fc485962e327eb5595768c99e8525f93d (diff) | |
download | prosody-6f46b6cd1a2f6cc65a55cbca524c664b78f219f5.tar.gz prosody-6f46b6cd1a2f6cc65a55cbca524c664b78f219f5.zip |
Merge 0.9->0.10
-rw-r--r-- | util/filters.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/filters.lua b/util/filters.lua index 8a470011..c2bdca07 100644 --- a/util/filters.lua +++ b/util/filters.lua @@ -52,7 +52,7 @@ function add_filter(session, type, callback, priority) local i = 0; repeat i = i + 1; - until not filter_list[i] or filter_list[filter_list[i]] >= priority; + until not filter_list[i] or filter_list[filter_list[i]] < priority; t_insert(filter_list, i, callback); filter_list[callback] = priority; |