diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-10-05 18:42:42 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-10-05 18:42:42 +0100 |
commit | 08c994f507faf7f9373582cac0869f471fb0d9b5 (patch) | |
tree | 26b4baa12336238036a60f416547dffebef7198f /util | |
parent | ae795496e307f5f162231af2bbc98a2828482698 (diff) | |
parent | 73a4154d03944f43413c5e85d7e3adc5803ca10a (diff) | |
download | prosody-08c994f507faf7f9373582cac0869f471fb0d9b5.tar.gz prosody-08c994f507faf7f9373582cac0869f471fb0d9b5.zip |
Merge with 0.5
Diffstat (limited to 'util')
-rw-r--r-- | util/array.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/array.lua b/util/array.lua index bbf26f32..316a2861 100644 --- a/util/array.lua +++ b/util/array.lua @@ -43,7 +43,7 @@ function array_base.filter(outa, ina, func) end end - if inplace and write < start_length then + if inplace and write <= start_length then for i=write,start_length do outa[i] = nil; end |