diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-11-10 18:50:01 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-11-10 18:50:01 +0000 |
commit | fd5b526846c3d031640fcd18a2bb8e421c27ea4e (patch) | |
tree | 1a196c2121542744230e695837374a338944222f /util/set.lua | |
parent | a15849cf9ac371f9c328702a0129b4f1c63b1f90 (diff) | |
parent | 812962fee3c19f531533e92cab7a692e265918b9 (diff) | |
download | prosody-fd5b526846c3d031640fcd18a2bb8e421c27ea4e.tar.gz prosody-fd5b526846c3d031640fcd18a2bb8e421c27ea4e.zip |
Merge 0.10->trunk
Diffstat (limited to 'util/set.lua')
-rw-r--r-- | util/set.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/set.lua b/util/set.lua index 89cd7cf3..04f5f0f4 100644 --- a/util/set.lua +++ b/util/set.lua @@ -23,7 +23,7 @@ function set_mt.__sub(set1, set2) 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); |