aboutsummaryrefslogtreecommitdiffstats
path: root/util/array.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-10-18 15:16:30 +0200
committerKim Alvefur <zash@zash.se>2016-10-18 15:16:30 +0200
commit71d4c99a5de0b78a9d72bd85c7a0293bfd9dbd16 (patch)
treeb8d9b9a2e7beb3212a5855036b5e7b0cfb081126 /util/array.lua
parent53bcabeef5c2e2002f6d94caff2a6dbd1b2dc329 (diff)
downloadprosody-71d4c99a5de0b78a9d72bd85c7a0293bfd9dbd16.tar.gz
prosody-71d4c99a5de0b78a9d72bd85c7a0293bfd9dbd16.zip
util.array: Remove unused arguments [luacheck]
Diffstat (limited to 'util/array.lua')
-rw-r--r--util/array.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/array.lua b/util/array.lua
index 4b5b36c7..ea520f6b 100644
--- a/util/array.lua
+++ b/util/array.lua
@@ -106,7 +106,7 @@ function array_base.reverse(outa, ina)
end
--- These methods only mutate the array
-function array_methods:shuffle(outa, ina)
+function array_methods:shuffle()
local len = #self;
for i = 1, #self do
local r = math_random(i, len);