From df4896eadb006bb313c82d186ea51a9bf59e551a Mon Sep 17 00:00:00 2001 From: nnposter Date: Thu, 4 Dec 2025 19:39:52 +0000 Subject: [PATCH] Remove unnecessary conditional --- nselib/ipp.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nselib/ipp.lua b/nselib/ipp.lua index 61e7cebba..e2146f1e4 100644 --- a/nselib/ipp.lua +++ b/nselib/ipp.lua @@ -337,9 +337,7 @@ Helper = { local printer = {} for k, v in pairs(attrib) do - if ( ag:getAttributeValue(k) ) then - printer[v] = ag:getAttributeValue(k) - end + printer[v] = ag:getAttributeValue(k) end table.insert(printers, printer) end