aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-09-30 23:46:38 +0100
committerMatthew Wild <mwild1@gmail.com>2013-09-30 23:46:38 +0100
commit6f46b6cd1a2f6cc65a55cbca524c664b78f219f5 (patch)
tree07c9d79a25f5a40711ae1fb80c3d0c61a234f23f /util
parente8380a3cd2a3747554ac3da1b1c106344b484f0b (diff)
parent6b44449fc485962e327eb5595768c99e8525f93d (diff)
downloadprosody-6f46b6cd1a2f6cc65a55cbca524c664b78f219f5.tar.gz
prosody-6f46b6cd1a2f6cc65a55cbca524c664b78f219f5.zip
Merge 0.9->0.10
Diffstat (limited to 'util')
-rw-r--r--util/filters.lua2
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;