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
commit83a82fbd237c3377016d366d4e1b3cf55b06d108 (patch)
tree07c9d79a25f5a40711ae1fb80c3d0c61a234f23f /util
parentec02caa58330a07130747dede9121f8229332996 (diff)
parent781fe0e9e6513bb7c5772d68b3630b7da01fb4de (diff)
downloadprosody-83a82fbd237c3377016d366d4e1b3cf55b06d108.tar.gz
prosody-83a82fbd237c3377016d366d4e1b3cf55b06d108.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;