changeset 6365 | 75bd55e84112 |
parent 5500 | eeea0eb2602a |
child 6367 | 769a3577dd85 |
child 7462 | 94af49ad657e |
--- a/plugins/mod_privacy.lua Sat Aug 23 09:29:17 2014 +0100 +++ b/plugins/mod_privacy.lua Thu Aug 28 09:17:07 2014 +0100 @@ -157,7 +157,7 @@ list.items[#list.items + 1] = tmp; end - table.sort(list, function(a, b) return a.order < b.order; end); + table.sort(list.items, function(a, b) return a.order < b.order; end); origin.send(st.reply(stanza)); if bare_sessions[bare_jid] ~= nil then