Land #4191, merge_check_key update for Ruby 2.1.4

bug/bundler_fix
William Vu 2014-11-14 15:33:47 -06:00
commit 0477c5f8fe
No known key found for this signature in database
GPG Key ID: E761DCB4C1629024
1 changed files with 1 additions and 1 deletions

View File

@ -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