diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-05-06 19:51:35 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-05-06 19:51:35 +0100 |
commit | de51b150af7229ca6d30cdaa89e5201cfce59715 (patch) | |
tree | 81612da03b8a39790426d3de2686ae590770f6f4 /util | |
parent | d16104ebd4ea1a5e313367064c6731efb6feed21 (diff) | |
download | prosody-de51b150af7229ca6d30cdaa89e5201cfce59715.tar.gz prosody-de51b150af7229ca6d30cdaa89e5201cfce59715.zip |
util.set: Rename method argument to avoid name clash [luacheck]
Diffstat (limited to 'util')
-rw-r--r-- | util/set.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/set.lua b/util/set.lua index 0a263440..4be39c17 100644 --- a/util/set.lua +++ b/util/set.lua @@ -85,9 +85,9 @@ function new(list) items[item] = nil; end - function set:add_list(list) - if list then - for _, item in ipairs(list) do + function set:add_list(item_list) + if item_list then + for _, item in ipairs(item_list) do items[item] = true; end end |