diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-05-06 19:50:40 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-05-06 19:50:40 +0100 |
commit | f1085b6cebb50e045430c68ef2bcbebcfaeac9cc (patch) | |
tree | 1809fac6364b9b89bbad13d46311ee23058ecfe9 | |
parent | d0741cdda29b437d96efbfd186c2d2eccf6ebafe (diff) | |
download | prosody-f1085b6cebb50e045430c68ef2bcbebcfaeac9cc.tar.gz prosody-f1085b6cebb50e045430c68ef2bcbebcfaeac9cc.zip |
util.set: Remove unnecessary local declaration, arguments are already locals [luacheck]
-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 04f5f0f4..c160d28e 100644 --- a/util/set.lua +++ b/util/set.lua @@ -34,7 +34,7 @@ function set_mt.__div(set, func) return new_set; end function set_mt.__eq(set1, set2) - local set1, set2 = set1._items, set2._items; + set1, set2 = set1._items, set2._items; for item in pairs(set1) do if not set2[item] then return false; |