fix missing initialization

git-svn-id: file:///home/svn/framework3/trunk@13023 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Joshua Drake 2011-06-25 04:57:01 +00:00
parent 234bbda9eb
commit 415777c25b
1 changed files with 1 additions and 0 deletions

View File

@ -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}")