diff --git a/lib/msf/core/module_manager/module_sets.rb b/lib/msf/core/module_manager/module_sets.rb index 5d6da9301a..f51727fe2d 100644 --- a/lib/msf/core/module_manager/module_sets.rb +++ b/lib/msf/core/module_manager/module_sets.rb @@ -39,7 +39,7 @@ module Msf::ModuleManager::ModuleSets self.enablement_by_type[type] = true case type when Msf::MODULE_PAYLOAD - instance = Msf::PayloadSet.new(self) + instance = Msf::PayloadSet.new else instance = Msf::ModuleSet.new(type) end @@ -100,4 +100,4 @@ module Msf::ModuleManager::ModuleSets attr_accessor :enablement_by_type # :nodoc: attr_accessor :module_set_by_type # :nodoc: -end \ No newline at end of file +end