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

View File

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