mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 06:01:28 +00:00
removed usage of deprecated table.getn
This commit is contained in:
@@ -148,7 +148,7 @@ action = function(host, port)
|
||||
end
|
||||
|
||||
|
||||
if table.getn(result) > 0 then
|
||||
if #result > 0 then
|
||||
result.name = "search amongst the " .. plugin_count .. " most popular plugins"
|
||||
return stdnse.format_output(true, result)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user