mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +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
|
|
@ -152,7 +152,7 @@ local function process_instance( instance )
|
|||
for _, message in ipairs( instance.ms_sql_empty ) do
|
||||
table.insert( instanceOutput, message )
|
||||
end
|
||||
if ( nmap.verbosity() > 1 and table.getn( instance.ms_sql_empty ) == 0 ) then
|
||||
if ( nmap.verbosity() > 1 and #instance.ms_sql_empty == 0 ) then
|
||||
table.insert( instanceOutput, "'sa' account password is not blank." )
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue