1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-10-29 18:07:27 +01:00

Fix typo in PR #3712

Fixes the typo pointed out in
rapid7#3712#discussion_r16750554

Derp
This commit is contained in:
Tod Beardsley 2014-08-26 20:36:28 -05:00
parent 1f35c0ff1c
commit c045c9606c
No known key found for this signature in database
GPG Key ID: 1EFFB682ADB9F193

View File

@ -358,7 +358,7 @@ class Msftidy
# this could be done in a simpler way, but this let's us add more later
msf_exploit_line_no = nil
@lines.each_with_index do |line, idx|
if line = REGEX_MSF_EXPLOIT
if line =~ REGEX_MSF_EXPLOIT
# note the line number
msf_exploit_line_no = idx
elsif msf_exploit_line_no