Remove vestiges of ModuleManager's ModuleSet origins

unstable
James Lee 2012-12-13 11:23:49 -06:00
parent 79918d1ba1
commit d7f6b0c373
2 changed files with 1 additions and 5 deletions

View File

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

View File

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