Land #4191, merge_check_key update for Ruby 2.1.4
commit
0477c5f8fe
|
@ -74,7 +74,7 @@ module Msf::Module::ModuleInfo
|
|||
# Checks and merges the supplied key/value pair in the supplied hash.
|
||||
#
|
||||
def merge_check_key(info, name, val)
|
||||
if (self.respond_to?("merge_info_#{name.downcase}"))
|
||||
if (self.respond_to?("merge_info_#{name.downcase}", true))
|
||||
eval("merge_info_#{name.downcase}(info, val)")
|
||||
else
|
||||
# If the info hash already has an entry for this name
|
||||
|
|
Loading…
Reference in New Issue