1
0
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:
batrick
2011-05-11 14:41:06 +00:00
parent 186cb2d6a3
commit dc909f7d77
5 changed files with 5 additions and 5 deletions

View File

@@ -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