diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-11-10 18:49:34 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-11-10 18:49:34 +0000 |
commit | 3feb6c689eec602d087921e55ac1e5ce00f3d8a9 (patch) | |
tree | 8a24b091925a503a6c1306bba5ca3ff72abc440a /util/set.lua | |
parent | 85289e8c7d1f592a65ba13d1c117d34cefc6e3ad (diff) | |
parent | 67a543adb0bd2ee6ba791ea3329bc6e1d68b6acc (diff) | |
download | prosody-3feb6c689eec602d087921e55ac1e5ce00f3d8a9.tar.gz prosody-3feb6c689eec602d087921e55ac1e5ce00f3d8a9.zip |
Merge 0.9->0.10
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); |