mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 21:21:31 +00:00
removed usage of deprecated table.getn
This commit is contained in:
@@ -101,7 +101,7 @@ local function create_instance_output_table( instance )
|
||||
end
|
||||
end
|
||||
|
||||
if ( table.getn( credsOutput ) == 0 ) then
|
||||
if ( #credsOutput == 0 ) then
|
||||
table.insert( instanceOutput, "No credentials found" )
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user