aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_shell.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-07-10 17:19:05 +0200
committerKim Alvefur <zash@zash.se>2023-07-10 17:19:05 +0200
commitdeecaafbfb0bc42a68e0d1ef75770d449a204deb (patch)
tree6ed9434974610ea23a0e81984850bbb405dbacf7 /plugins/mod_admin_shell.lua
parent5ee4b4e8a6a888a16f24d127c1da57468c8d0c8c (diff)
downloadprosody-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 'plugins/mod_admin_shell.lua')
0 files changed, 0 insertions, 0 deletions