diff --git a/lib/msf/core/module_manager/reloading.rb b/lib/msf/core/module_manager/reloading.rb index 5d04d53ae0..0e3bf6d5fa 100644 --- a/lib/msf/core/module_manager/reloading.rb +++ b/lib/msf/core/module_manager/reloading.rb @@ -21,9 +21,6 @@ module Msf::ModuleManager::Reloading # # @return (see Msf::ModuleManager::Loading#load_modules) def reload_modules - self.module_history = {} - self.clear - self.enablement_by_type.each_key do |type| module_set_by_type[type].clear init_module_set(type) @@ -45,4 +42,4 @@ module Msf::ModuleManager::Reloading count_by_type end -end \ No newline at end of file +end diff --git a/lib/msf/core/module_set.rb b/lib/msf/core/module_set.rb index e4e59b1971..2c3c1ae6ca 100644 --- a/lib/msf/core/module_set.rb +++ b/lib/msf/core/module_set.rb @@ -305,7 +305,6 @@ class Msf::ModuleSet < Hash # # @return [String] type of modules attr_writer :module_type - attr_accessor :module_history # Ranks modules based on their constant rank value, if they have one. Modules without a Rank are treated as if they # had {Msf::NormalRanking} for Rank.