Skip to content

Commit e64eaf1

Browse files
author
Brent Cook
committed
remove additional match? for older ruby compat
1 parent 3f8ee86 commit e64eaf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/opt_int.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def type
1212
end
1313

1414
def normalize(value)
15-
if value.to_s.match?(/^0x[a-fA-F\d]+$/)
15+
if value.to_s.match(/^0x[a-fA-F\d]+$/)
1616
value.to_i(16)
1717
elsif value.present?
1818
value.to_i

0 commit comments

Comments
 (0)