Skip to content

Commit 0477c5f

Browse files
committed
Land rapid7#4191, merge_check_key update for Ruby 2.1.4
2 parents 3b55862 + 846dbc7 commit 0477c5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/module/module_info.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def info_fixups
7474
# Checks and merges the supplied key/value pair in the supplied hash.
7575
#
7676
def merge_check_key(info, name, val)
77-
if (self.respond_to?("merge_info_#{name.downcase}"))
77+
if (self.respond_to?("merge_info_#{name.downcase}", true))
7878
eval("merge_info_#{name.downcase}(info, val)")
7979
else
8080
# If the info hash already has an entry for this name

0 commit comments

Comments
 (0)