mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
removed usage of deprecated table.getn
This commit is contained in:
parent
186cb2d6a3
commit
dc909f7d77
5 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue