aboutsummaryrefslogtreecommitdiffstats
path: root/util/set.lua
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
commita83b428dd8ef9eb96e527838182047dadd9fc027 (patch)
tree81612da03b8a39790426d3de2686ae590770f6f4 /util/set.lua
parentb496bcc379412e8b51baed715bef12d946854fbb (diff)
downloadprosody-a83b428dd8ef9eb96e527838182047dadd9fc027.tar.gz
prosody-a83b428dd8ef9eb96e527838182047dadd9fc027.zip
util.set: Rename method argument to avoid name clash [luacheck]
Diffstat (limited to 'util/set.lua')
-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