Skip to content

Commit 343f401

Browse files
committed
Prefer newer hash syntax
1 parent 5e39f89 commit 343f401

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/db_export.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def extract_host_entries
125125
@owned_hosts = []
126126
@hosts = myworkspace.hosts
127127
@hosts.each do |host|
128-
if host.notes.where(:ntype => 'pro.system.compromise').first
128+
if host.notes.where(ntype: 'pro.system.compromise').first
129129
@owned_hosts << host
130130
end
131131
end

0 commit comments

Comments
 (0)