mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
Merge 0.9->0.10
This commit is contained in:
commit
6f46b6cd1a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue