diff options
-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; |