Skip to content

Commit

Permalink
Land #19006, Fixes WMAP plugin loading failures
Browse files Browse the repository at this point in the history
  • Loading branch information
adfoster-r7 authored Mar 26, 2024
2 parents 30093ea + d325104 commit 5a77f76
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/msf/core/module_set.rb
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,10 @@ def each_module_list(ary, opts, &block)
# Custom filtering
next if (each_module_filter(opts, name, entry) == true)

block.call(name, self[name])
mod = self[name]
next if mod.nil?

block.call(name, mod)
end
end

Expand Down

0 comments on commit 5a77f76

Please sign in to comment.