From 4431b482d76e683ca88fed39ac388f2bb83986ef Mon Sep 17 00:00:00 2001
From: iceman1001 <iceman@iuse.se>
Date: Wed, 25 Jan 2017 08:36:51 +0100
Subject: [PATCH] CHG:forget the "base"..

---
 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 a4eb8eb70..3f2ed870d 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 = tonumber(key)
+				keyA = tonumber(key,16)
 			else
 				local err, foundkey = core.hardnested(blockno, keytype, key, trgblockno, tostring(targetkeytype), trgkey, 0,0,0,0)
 				foundkey = foundkey or ""