diff options
author | Kim Alvefur <zash@zash.se> | 2023-07-10 17:19:05 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-07-10 17:19:05 +0200 |
commit | deecaafbfb0bc42a68e0d1ef75770d449a204deb (patch) | |
tree | 6ed9434974610ea23a0e81984850bbb405dbacf7 /core/configmanager.lua | |
parent | 5ee4b4e8a6a888a16f24d127c1da57468c8d0c8c (diff) | |
download | prosody-deecaafbfb0bc42a68e0d1ef75770d449a204deb.tar.gz prosody-deecaafbfb0bc42a68e0d1ef75770d449a204deb.zip |
util.datamanager: Fix indexing first item if not at the very start
If the first item does not start at position 0 then the index function
produces a phantom first entry covering position zero until where the
real first item starts. When using the index, this would make it either
appear as the first item was missing or cause an off-by-one issue with
remaining items.
Diffstat (limited to 'core/configmanager.lua')
0 files changed, 0 insertions, 0 deletions