Land #8230, Sum the results of the module loaders

bug/bundler_fix
Brent Cook 2017-04-12 11:51:03 -05:00
commit bb64f5d7e3
No known key found for this signature in database
GPG Key ID: 1FFAA0B24B708F96
1 changed files with 3 additions and 1 deletions

View File

@ -116,7 +116,9 @@ module Msf::ModuleManager::Loading
loaders.each do |loader|
if loader.loadable?(path)
count_by_type = loader.load_modules(path, options)
count_by_type.merge!(loader.load_modules(path, options)) do |key, old, new|
old + new
end
end
end