Skip to content

Commit 705a0e6

Browse files
committed
Fix invalid usage of getlocal in AntiTamper
1 parent c8f13f6 commit 705a0e6

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/prometheus/steps/AntiTamper.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,6 @@ function AntiTamper:apply(ast, pipeline)
7171
valid = false;
7272
end
7373
74-
if debug.getlocal(funcs[i], 1) then
75-
valid = false;
76-
end
77-
7874
if debug.getupvalue(funcs[i], 1) then
7975
valid = false;
8076
end

0 commit comments

Comments
 (0)