From f364f712945fec98aa3f165b40f465bf18490156 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 25 Jan 2017 01:11:34 +0100 Subject: [PATCH] chg: known key is treated as a string. --- client/scripts/hard_autopwn.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/scripts/hard_autopwn.lua b/client/scripts/hard_autopwn.lua index 1ba8b512..a4eb8eb7 100644 --- a/client/scripts/hard_autopwn.lua +++ b/client/scripts/hard_autopwn.lua @@ -168,7 +168,7 @@ function main(args) -- or actually blockNo and keytype -- just try default for now if sector == 1 and targetkeytype == 0 then - keyA = key + keyA = tonumber(key) else local err, foundkey = core.hardnested(blockno, keytype, key, trgblockno, tostring(targetkeytype), trgkey, 0,0,0,0) foundkey = foundkey or "" -- 2.39.5