From 14b8fc2cb6812fc7492da84d3c46243e1b737d3d Mon Sep 17 00:00:00 2001 From: Layla Manley Date: Sun, 8 Oct 2023 01:15:07 -0400 Subject: [PATCH] iteration --- lns.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lns.lua b/lns.lua index feba27b..c3d5965 100644 --- a/lns.lua +++ b/lns.lua @@ -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