aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-05-06 19:51:35 +0100
committerMatthew Wild <mwild1@gmail.com>2015-05-06 19:51:35 +0100
commitde51b150af7229ca6d30cdaa89e5201cfce59715 (patch)
tree81612da03b8a39790426d3de2686ae590770f6f4 /util
parentd16104ebd4ea1a5e313367064c6731efb6feed21 (diff)
downloadprosody-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.lua6
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