Axe redundant check
parent
88a8186a11
commit
bf8146c8b5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue