Skip to content

Commit 9f3f0fd

Browse files
committed
make [matches_records] simple
1 parent fcc22d9 commit 9f3f0fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/gather/zoomeye_search.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def dork_search(dork, resource, page, facet=['ip'])
8282
end
8383

8484
def match_records?(records)
85-
records && records.key?('matches') ? true : false
85+
records && records.key?('matches')
8686
end
8787

8888
def parse_host_records(records)

0 commit comments

Comments
 (0)