Software /
code /
prosody
Changeset
7700:0d70410efdcf
util.array: Remove unused arguments [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 18 Oct 2016 15:16:30 +0200 |
parents | 7699:9c40d0be2295 |
children | 7701:672a863105f6 |
files | util/array.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util/array.lua Tue Oct 18 15:16:18 2016 +0200 +++ b/util/array.lua Tue Oct 18 15:16:30 2016 +0200 @@ -106,7 +106,7 @@ 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);