mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 05:07:42 +03:00
Revert util.debug change accidentally committed in e157e5c79daa
This commit is contained in:
parent
018c618a3f
commit
f728cb7767
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ local function get_locals_table(thread, level)
|
||||||
for local_num = 1, math.huge do
|
for local_num = 1, math.huge do
|
||||||
local name, value;
|
local name, value;
|
||||||
if thread then
|
if thread then
|
||||||
name, value = debug.getlocal(thread, level-1, local_num);
|
name, value = debug.getlocal(thread, level, local_num);
|
||||||
else
|
else
|
||||||
name, value = debug.getlocal(level+1, local_num);
|
name, value = debug.getlocal(level+1, local_num);
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue