diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-04-24 22:59:41 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-04-24 22:59:41 +0100 |
commit | 280eda897986aea9e7fe0fa4fb53f9130681b58b (patch) | |
tree | 32738193f40c5114889c72612fe0dfbffa325d38 /util/events.lua | |
parent | aebd5479d216cf4e122911fc7b10d2f4b88cc533 (diff) | |
parent | 9a76ea7e31d5034607932ac304d89c40bf9c59bf (diff) | |
download | prosody-280eda897986aea9e7fe0fa4fb53f9130681b58b.tar.gz prosody-280eda897986aea9e7fe0fa4fb53f9130681b58b.zip |
Merge 0.10->trunk
Diffstat (limited to 'util/events.lua')
-rw-r--r-- | util/events.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/events.lua b/util/events.lua index 78700d65..0bf0ddcb 100644 --- a/util/events.lua +++ b/util/events.lua @@ -127,7 +127,7 @@ local function new() w = wrappers[event_name]; end if not w then return; end - for i = #w, 1 do + for i = #w, 1, -1 do if w[i] == wrapper then t_remove(w, i); end |