aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-10-05 18:42:42 +0100
committerMatthew Wild <mwild1@gmail.com>2009-10-05 18:42:42 +0100
commit08c994f507faf7f9373582cac0869f471fb0d9b5 (patch)
tree26b4baa12336238036a60f416547dffebef7198f /util
parentae795496e307f5f162231af2bbc98a2828482698 (diff)
parent73a4154d03944f43413c5e85d7e3adc5803ca10a (diff)
downloadprosody-08c994f507faf7f9373582cac0869f471fb0d9b5.tar.gz
prosody-08c994f507faf7f9373582cac0869f471fb0d9b5.zip
Merge with 0.5
Diffstat (limited to 'util')
-rw-r--r--util/array.lua2
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