Browse Source

Prefer newer hash syntax

William Vu 3 years ago
parent
commit
343f4010bd
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/msf/core/db_export.rb

+ 1
- 1
lib/msf/core/db_export.rb View File

@@ -125,7 +125,7 @@ class Export
125 125
     @owned_hosts = []
126 126
     @hosts = myworkspace.hosts
127 127
     @hosts.each do |host|
128
-      if host.notes.where(:ntype => 'pro.system.compromise').first
128
+      if host.notes.where(ntype: 'pro.system.compromise').first
129 129
         @owned_hosts << host
130 130
       end
131 131
     end

Loading…
Cancel
Save