1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-06 21:46:34 +00:00

Boolean values are legitimate keys

This commit is contained in:
nnposter
2026-02-04 01:05:47 +00:00
parent cd77d5f8dd
commit 8ecfc735bf

View File

@@ -41,7 +41,7 @@ tcopy_local = tcopy
function shallow_tcopy(t)
local k = next(t)
local out = {}
while k do
while k ~= nil do
out[k] = t[k]
k = next(t, k)
end