Skip to content

Commit f81ef9b

Browse files
committed
Merge branch 'bug/reload_all' of git://github.com/jlee-r7/metasploit-framework into jlee-r7-bug/reload_all
2 parents c0b214c + d7f6b0c commit f81ef9b

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

lib/msf/core/module_manager/reloading.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ def reload_module(mod)
2121
#
2222
# @return (see Msf::ModuleManager::Loading#load_modules)
2323
def reload_modules
24-
self.module_history = {}
25-
self.clear
26-
2724
self.enablement_by_type.each_key do |type|
2825
module_set_by_type[type].clear
2926
init_module_set(type)
@@ -45,4 +42,4 @@ def reload_modules
4542

4643
count_by_type
4744
end
48-
end
45+
end

lib/msf/core/module_set.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,6 @@ def each_module_list(ary, opts, &block)
305305
#
306306
# @return [String] type of modules
307307
attr_writer :module_type
308-
attr_accessor :module_history
309308

310309
# Ranks modules based on their constant rank value, if they have one. Modules without a Rank are treated as if they
311310
# had {Msf::NormalRanking} for Rank.

0 commit comments

Comments
 (0)