Skip to content

Commit ebfc323

Browse files
committed
Fix bug, that allowed dumping of strings
1 parent c69a787 commit ebfc323

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/prometheus/steps/EncryptStrings.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,7 @@ do
149149
150150
local realStrings = {};
151151
STRINGS = setmetatable({}, {
152-
__index = function(tb, idx)
153-
return realStrings[idx];
154-
end
152+
__index = realStrings;
155153
});
156154
function DECRYPT(str, seed)
157155
if(realStrings[seed]) then

0 commit comments

Comments
 (0)