iteration

This commit is contained in:
Layla 2023-10-08 01:15:07 -04:00
parent 0f2a13c4e3
commit 14b8fc2cb6

View File

@ -51,10 +51,10 @@ if action == "lookup" then
return
end
local id = lns_lookup(hostname)
if id ~= nil then
local result = lns_lookup(hostname)
if result ~= nil then
io.write(id)
cache[hostname] = id
cache[hostname] = result
end
elseif action == "clear" then