Software /
code /
prosody
Diff
util/set.lua @ 5908:081a91507e4f
Merge 0.9->0.10
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 10 Nov 2013 18:49:34 +0000 |
parent | 5817:6e087f3b8f3b |
parent | 5906:071a7e461ae7 |
child | 6673:b123fcd65d2e |
line wrap: on
line diff
--- a/util/set.lua Sat Nov 09 18:36:32 2013 +0000 +++ b/util/set.lua Sun Nov 10 18:49:34 2013 +0000 @@ -23,7 +23,7 @@ return _M.difference(set1, set2); end function set_mt.__div(set, func) - local new_set, new_items = _M.new(); + local new_set = _M.new(); local items, new_items = set._items, new_set._items; for item in pairs(items) do local new_item = func(item);