File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ def metasploit_class
14
14
#inherit = false
15
15
16
16
::Msf ::Framework ::Major . downto ( 1 ) do |major |
17
- # Since we really only care about the deepest namespace, we don't
18
- # need to look for parents' constants. However, the "inherit"
19
- # parameter for const_defined? only exists after 1.9. If we ever
20
- # drop 1.8 support, we can save a few cycles here by passing false
21
- # here.
17
+ # Since we really only care about the deepest namespace, we don't
18
+ # need to look for parents' constants. However, the "inherit"
19
+ # parameter for const_defined? only exists after 1.9. If we ever
20
+ # drop 1.8 support, we can save a few cycles here by passing false
21
+ # here.
22
22
if const_defined? ( "Metasploit#{ major } " )
23
23
metasploit_class = const_get ( "Metasploit#{ major } " )
24
24
You can’t perform that action at this time.
0 commit comments