aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-11-10 18:50:01 +0000
committerMatthew Wild <mwild1@gmail.com>2013-11-10 18:50:01 +0000
commitea8974d055f7f015cb01ce7a43bc381455135439 (patch)
tree1a196c2121542744230e695837374a338944222f /util
parent36c5b9e1e93fc4966b323dfb09d97ecf58b16eda (diff)
parent3feb6c689eec602d087921e55ac1e5ce00f3d8a9 (diff)
downloadprosody-ea8974d055f7f015cb01ce7a43bc381455135439.tar.gz
prosody-ea8974d055f7f015cb01ce7a43bc381455135439.zip
Merge 0.10->trunk
Diffstat (limited to 'util')
-rw-r--r--util/set.lua2
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);