Axe redundant check

bug/bundler_fix
James Lee 2015-03-26 21:19:19 -05:00
parent 88a8186a11
commit bf8146c8b5
No known key found for this signature in database
GPG Key ID: 2D6094C7CEA0A321
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ module Msf::DBManager::ExploitAttempt
# Report a vuln_attempt if we found a match
if vuln
vuln.vuln_attempts.create(attempt_info)
attempt_info[:vuln_id] = vuln.id if vuln
attempt_info[:vuln_id] = vuln.id
end
# Report an exploit attempt all the same