fix missing initialization
git-svn-id: file:///home/svn/framework3/trunk@13023 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
234bbda9eb
commit
415777c25b
|
@ -733,6 +733,7 @@ class ModuleManager < ModuleSet
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
added = nil
|
||||||
::Msf::Framework::Major.downto(1) do |major|
|
::Msf::Framework::Major.downto(1) do |major|
|
||||||
if wrap.const_defined?("Metasploit#{major}")
|
if wrap.const_defined?("Metasploit#{major}")
|
||||||
added = wrap.const_get("Metasploit#{major}")
|
added = wrap.const_get("Metasploit#{major}")
|
||||||
|
|
Loading…
Reference in New Issue