Software /
code /
prosody
Changeset
12256:8fd3eebb8966
Revert util.debug change accidentally committed in e157e5c79daa
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 04 Feb 2022 15:13:13 +0000 |
parents | 12255:a3ad9cf740d6 |
children | 12257:7adfd5d29576 |
files | util/debug.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util/debug.lua Fri Feb 04 15:04:20 2022 +0000 +++ b/util/debug.lua Fri Feb 04 15:13:13 2022 +0000 @@ -31,7 +31,7 @@ for local_num = 1, math.huge do local name, value; if thread then - name, value = debug.getlocal(thread, level-1, local_num); + name, value = debug.getlocal(thread, level, local_num); else name, value = debug.getlocal(level+1, local_num); end